mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 22:41:27 +00:00
Basic type inference
This commit is contained in:
4
tests/parser/continue-on-error.ts
Normal file
4
tests/parser/continue-on-error.ts
Normal file
@ -0,0 +1,4 @@
|
||||
var; while for let; a from "./other";
|
||||
do {
|
||||
;
|
||||
} while (false);
|
12
tests/parser/continue-on-error.ts.fixture.ts
Normal file
12
tests/parser/continue-on-error.ts.fixture.ts
Normal file
@ -0,0 +1,12 @@
|
||||
;
|
||||
;
|
||||
a;
|
||||
from;
|
||||
"./other";
|
||||
do {
|
||||
;
|
||||
} while (false);
|
||||
// ERROR 1003: "Identifier expected." in continue-on-error.ts @ 0,3
|
||||
// ERROR 1005: "'(' expected." in continue-on-error.ts @ 5,10
|
||||
// ERROR 1005: "'(' expected." in continue-on-error.ts @ 11,14
|
||||
// ERROR 1003: "Identifier expected." in continue-on-error.ts @ 15,18
|
Reference in New Issue
Block a user