aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-26 15:56:09 -0500
committerCody <cody@codyq.dev>2023-06-26 15:56:09 -0500
commit4172dc213f88df5025169fa7f43d02f2794fdd70 (patch)
tree35f570b62caecdb921b5414c51de08f18126054b /examples
parent849ba9ffa6ba9ac00bbc5fdb144a48cf7076a46f (diff)
downloadsloth-4172dc213f88df5025169fa7f43d02f2794fdd70.tar.gz
Bugfix with dynamic arrays
Diffstat (limited to 'examples')
-rw-r--r--examples/hello.sloth2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello.sloth b/examples/hello.sloth
index 7378cb1..1bbdbd4 100644
--- a/examples/hello.sloth
+++ b/examples/hello.sloth
@@ -1,5 +1,5 @@
fn test() [Int 3] {
- var list: [Int 3] = [9, 5, 7];
+ var list: [Int 3] = [500, 5, 7];
vpushi(list, 3);
vpushi(list, 3);