assemblyscript icon indicating copy to clipboard operation
assemblyscript copied to clipboard

Support for..of / for..in syntax

Open lrettig opened this issue 7 years ago • 10 comments

Hello,

I'm trying to compile a simple piece of code that uses the for... in or for... of iterable syntax, but I keep getting the following error:

ERROR TS1005: ';' expected.

   for (var i:i32 in foo)
              ~~~
 in main.ts(13,13)

Code sample here. It's happening using the latest AS code.

lrettig avatar Jul 10 '18 13:07 lrettig