Report RegExp errors in grammar check, use Annex B grammar (#58295)

This commit is contained in:
Ron Buckton
2024-04-24 19:16:05 -04:00
committed by GitHub
parent e6ba82b346
commit e28ad995d1
20 changed files with 184 additions and 262 deletions

View File

@@ -160,7 +160,7 @@ describe("unittests:: Incremental Parser", () => {
const oldText = ts.ScriptSnapshot.fromString(source);
const newTextAndChange = withInsert(oldText, semicolonIndex, "/");
compareTrees(oldText, newTextAndChange.text, newTextAndChange.textChangeRange, 4);
compareTrees(oldText, newTextAndChange.text, newTextAndChange.textChangeRange, 0);
});
it("Regular expression 2", () => {