Skip to content

Compiler crash when type name is not nameable #446

@MaceWindu

Description

@MaceWindu

Latest master gives me following error when I try to compile my project:

tsc.js:1907
        var text = getLocaleSpecificMessage(message.key);
                                                   ^
TypeError: Cannot read property 'key' of undefined
    at Object.createFileDiagnostic (tsc.js:1907:52)
    at Object.createDiagnosticForNode (tsc.js:2499:19)
    at Object.writeSymbol (tsc.js:7392:41)
    at writeType (tsc.js:8566:28)
    at writeTypeToTextWriter (tsc.js:8557:20)
    at Object.writeTypeAtLocation (tsc.js:13355:13)
    at emitTypeOfTypeReference (tsc.js:7572:30)
    at emitCommaList (tsc.js:7407:21)
    at emitHeritageClause (tsc.js:7568:21)
    at emitInterfaceDeclaration (tsc.js:7648:21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions