Skip to content

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

@minestarks

Description

@minestarks

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 

@RyanCavanaugh

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

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions