Closed LeoDog896 closed 1 year ago
Latest website version at the time of issue writing, Chrome Version 108.0.5359.125 (Official Build) (64-bit).
Chrome Version 108.0.5359.125 (Official Build) (64-bit)
I don't have the ability to replicate the issue at firefox as of now, so if anyone else can, please do so.
module.wat
;; INFO asc module.ts --textFile module.wat --outFile module.wasm --bindings raw -O3 --runtime stub ;; ERROR TS1012: Unexpected token. ;; : ;; 4 │ if (n > 0) { ;; │ ^ ;; └─ in module.ts(4,3) ;; ;; FAILURE 1 parse error(s) (module ;; FAILURE 1 parse error(s) )
To fix the error, a semicolon is needed after b = 1.
b = 1
Relevant PR causing the issue: https://github.com/AssemblyScript/assemblyscript/pull/2252
Environment
Latest website version at the time of issue writing,
Chrome Version 108.0.5359.125 (Official Build) (64-bit)
.I don't have the ability to replicate the issue at firefox as of now, so if anyone else can, please do so.
Reproduce
module.wat
tabTo fix the error, a semicolon is needed after
b = 1
.