diff --git a/es2panda/test/parser/js/test-class-constructor-1-expected.txt b/es2panda/test/parser/js/test-class-constructor-1-expected.txt index 4f33b991eff70922a42a2caa9e52a86c6d35cf68..27b8d61d951cf6884f3756f42013d1b77b3f8a8b 100644 --- a/es2panda/test/parser/js/test-class-constructor-1-expected.txt +++ b/es2panda/test/parser/js/test-class-constructor-1-expected.txt @@ -1 +1 @@ -SyntaxError: 'static' modifier cannot appear on a parameter. [test-class-constructor.js:18:17] \ No newline at end of file +SyntaxError: 'static' modifier cannot appear on a parameter. [test-class-constructor-1.js:18:17] diff --git a/es2panda/test/parser/js/test-import-expression-expected.txt b/es2panda/test/parser/js/test-import-expression-expected.txt index e74e061c9b92871cd5ceff8194556115bd2be1d6..fd40f3b41ab230ebf8f616ca2c96e83ec7e5ee04 100644 --- a/es2panda/test/parser/js/test-import-expression-expected.txt +++ b/es2panda/test/parser/js/test-import-expression-expected.txt @@ -1 +1 @@ -SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' [test-import-expression.js:20:1] +SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' [test-import-expression.js:22:1] diff --git a/es2panda/test/parser/js/test-import-meta-expected.txt b/es2panda/test/parser/js/test-import-meta-expected.txt index 3fa3cb7b2f806fea010263711651ea482bf420e2..a72ea7e96614f6b3f76b45b0c0adb478431c01d5 100644 --- a/es2panda/test/parser/js/test-import-meta-expected.txt +++ b/es2panda/test/parser/js/test-import-meta-expected.txt @@ -1 +1 @@ -SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' [test-import-meta.js:21:1] +SyntaxError: 'import.Meta' may appear only with 'sourceType: module' [test-import-meta.js:21:14] diff --git a/es2panda/test/parser/ts/test_module_binder-expected.txt b/es2panda/test/parser/ts/test_module_binder-expected.txt index cf94fb985d907bae3a812cf9bf69406c7cbc7638..9c316602fffb053630d92d79f1dfc8d438da26fd 100644 --- a/es2panda/test/parser/ts/test_module_binder-expected.txt +++ b/es2panda/test/parser/ts/test_module_binder-expected.txt @@ -9,11 +9,11 @@ "decorators": [], "loc": { "start": { - "line": 1, + "line": 17, "column": 8 }, "end": { - "line": 1, + "line": 17, "column": 9 } } @@ -30,12 +30,12 @@ "decorators": [], "loc": { "start": { - "line": 2, - "column": 9 + "line": 18, + "column": 11 }, "end": { - "line": 2, - "column": 10 + "line": 18, + "column": 12 } } }, @@ -111,12 +111,12 @@ "decorators": [], "loc": { "start": { - "line": 2, - "column": 3 + "line": 18, + "column": 5 }, "end": { - "line": 2, - "column": 24 + "line": 18, + "column": 26 } } }, @@ -129,12 +129,12 @@ "decorators": [], "loc": { "start": { - "line": 2, - "column": 13 + "line": 18, + "column": 15 }, "end": { - "line": 2, - "column": 14 + "line": 18, + "column": 16 } } }, @@ -147,24 +147,24 @@ "type": "TSStringKeyword", "loc": { "start": { - "line": 2, - "column": 16 + "line": 18, + "column": 18 }, "end": { - "line": 2, - "column": 22 + "line": 18, + "column": 24 } } }, "decorators": [], "loc": { "start": { - "line": 2, - "column": 13 + "line": 18, + "column": 15 }, "end": { - "line": 2, - "column": 14 + "line": 18, + "column": 16 } } } @@ -172,35 +172,35 @@ "indexSignatures": [], "loc": { "start": { - "line": 2, - "column": 11 + "line": 18, + "column": 13 }, "end": { - "line": 2, - "column": 24 + "line": 18, + "column": 26 } } }, "decorators": [], "loc": { "start": { - "line": 2, - "column": 3 + "line": 18, + "column": 5 }, "end": { - "line": 2, - "column": 24 + "line": 18, + "column": 26 } } } ], "loc": { "start": { - "line": 1, + "line": 17, "column": 10 }, "end": { - "line": 3, + "line": 19, "column": 2 } } @@ -209,11 +209,11 @@ "global": false, "loc": { "start": { - "line": 1, + "line": 17, "column": 1 }, "end": { - "line": 4, + "line": 20, "column": 1 } } @@ -225,7 +225,7 @@ "column": 1 }, "end": { - "line": 4, + "line": 20, "column": 1 } } diff --git a/es2panda/test/parser/ts/test_module_binder.ts b/es2panda/test/parser/ts/test_module_binder.ts index 94a59026edb55b8de593629faf01916efde97a3b..8a6f5c72481a0f5a567f5d411eeebf3f6e07aa32 100644 --- a/es2panda/test/parser/ts/test_module_binder.ts +++ b/es2panda/test/parser/ts/test_module_binder.ts @@ -13,6 +13,7 @@ * limitations under the License. */ + module A { class A { s: string } }