mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-30 13:42:12 +00:00
Regexp literal support; Properly resolve statically inherited members
This commit is contained in:
6
tests/parser/regexp.ts.fixture.ts
Normal file
6
tests/parser/regexp.ts.fixture.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
/(abc)\//ig;
|
||||
/(abc)\//;
|
||||
let re = /(abc)\//ig;
|
||||
let noRe = !/(abc)\//i;
|
||||
b / ig;
|
||||
// ERROR 1161: "Unterminated regular expression literal." in regexp.ts @ 75,76
|
Reference in New Issue
Block a user