Skip to content

Crash when emitting source maps for skipped nodes (e.g. 'catch' blocks) #39

Closed
@mhegazy

Description

@mhegazy

Code:

//@sourceMap: true
try {
// ...
} finally {
// N.B. No 'catch' block
}

Call stack:

  TypeError: Cannot read property 'filename' of undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueHigh Priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions