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

Fix TS parsing bug when seeing a generics-like expression #438

Merged
merged 1 commit into from
Mar 18, 2019

Commits on Mar 18, 2019

  1. Fix TS parsing bug when seeing a generics-like expression

    Fixes #408
    
    If we see `a<b>`, we were already looking at the next token to see if it's an
    open-paren (meaning this is a function call with a type argument) or a backtick
    (meaning this is a tagged template literal with a type argument), but we weren't
    properly bailing out if it was neither of those, which put the parser in a bad
    state.
    alangpierce committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    377e095 View commit details
    Browse the repository at this point in the history