Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS parser breaks with certain syntax since 1.42 #90760

Closed
tomato111 opened this issue Feb 15, 2020 · 1 comment
Closed

JS parser breaks with certain syntax since 1.42 #90760

tomato111 opened this issue Feb 15, 2020 · 1 comment
Assignees
Labels
grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@tomato111
Copy link

Issue Type: Bug

1 42

sample


if (/123(?:foo|bar)?baz/ig.test("123baz")) {}
if (a) {}
if (!/123(?:foo|bar)?baz/ig.test("123baz")) {}
if (a) {}


VS Code version: Code 1.42.1 (c47d83b, 2020-02-11T14:45:59.656Z)
OS version: Windows_NT x64 6.1.7601

@mjbvz mjbvz self-assigned this Feb 15, 2020
@mjbvz
Copy link
Collaborator

mjbvz commented Feb 18, 2020

Duplicate of microsoft/TypeScript-TmLanguage#806

@mjbvz mjbvz closed this as completed Feb 18, 2020
@mjbvz mjbvz added grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues upstream-issue-linked This is an upstream issue that has been reported upstream labels Feb 18, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

2 participants