#For loop not compiling? Basic syntax
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
Hey guys,
So this may be a dumb error, and I might just not be up on language changes, but is there any reason why this isn't compiling?
for (args[1..], 1..) |arg, i| {}
I'm using 0.11.0-dev.1606+3c2a43fdc and getting this error:
error: expected ')', found ','
for (args[1..], 1..) |arg, i| {
youre probably a few versions behind, updating to latest should fix it
@devout parrot, lol I was on an old verison of ZVM with a bug that wouldn't replace existing installs. Ironic. Thanks!
lol np