Skip to content

TypeError: Cannot read property 'flags' of undefined in getSpecialPropertyExport #36677

Description

TypeScript Version: 3.8.0-dev.20200207

module.exports = {};

try to rename exports

TypeError: Cannot read property 'flags' of undefined
    at getSpecialPropertyExport 
    at getExport
    at Object.getImportOrExportSymbol 
    at getImportOrExportReferences 
    at getReferencesAtLocation 
    at getReferencesInContainer 
    at getReferencesInContainerOrFiles 
    at getReferencedSymbolsForSymbol 
    at Object.getReferencedSymbolsForNode 
    at Object.findReferenceOrRenameEntries 

Ryan Cavanaugh (@RyanCavanaugh)

See hits at https://github.com/microsoft/tsserverfuzzer/issues/213#issuecomment-583469906

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions