Skip to content

For loop not working #42

Answered by gregnazario
memxor asked this question in Questions
Discussion options

You must be logged in to vote

Hey, this looks like a bug in the compiler, but there is a simple solution.

Simply change this broken code here

for(iter in 0..length) {
  // ...
}

And add a space between for and (. for( -> for (

for (iter in 0..length) {
  // ...
}

There is a bug reported here aptos-labs/aptos-core#11921

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gregnazario
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
move-vm Things about move vm
2 participants