Skip to content

TypeError: Cannot read property 'kind' of undefined at getErrorSpanForNode #40522

@EdwardDrapkin

Description

@EdwardDrapkin

There's a PR open for this one.

Under some set of rituals and incantations I have not been able to replicate, tsc throws the following error:

image

There's been several bugs open - and fixed - around this.

I could not replicate, it was easier to fix. The fix addresses a simple logical inconsistency where a safety check happened after it was necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputNeeds More InfoThe issue still hasn't been fully clarified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions