move-language / move

Apache License 2.0
2.24k stars 676 forks source link

aptos-move-analyzer 0.1.0 is not sync with the last version 2.4.0 #1093

Open dancespiele opened 5 months ago

dancespiele commented 5 months ago

🐛 Bug

With the last version apt move 2.4.0 my vscode complains if I use the new loop for also I don't autocomplete and I cannot go to any reference anymore

To reproduce

Code snippet to reproduce install apt move 2.4.0 install aptos-move-analyzer 0.1.0 add the extension aptos-move-analyzer 0.1.0 in vscode

Stack trace/error message error if I use the new loop for:

: unexpected token
   │78 │     for (i in 0..n) {   │         -  ^ Expected ')'   │         │      │         To match this '('""

Expected Behavior

Vscode should not complain about new loop for, autocomplete and go to reference should work again

System information

Please complete the following information:

dancespiele commented 5 months ago

with versions:

I still have the same issues