-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Description
Repo Name: https://github.com/carbon-app/carbon.git
Revision: 00dac2dbb804f587655a78212f2a9d5f6f5efa9b
TypeScript Version: 4.0.0-dev.20200724
Commands:
{"responseRequired":true}
{"command":"definition-full","arguments":{"position":127,"file":"D:/local/Temp/fuzzerWorkingDir/carbon/components/Slider.js"},"type":"request","seq":9}
{"response":[{"fileName":"D:/local/Temp/fuzzerWorkingDir/carbon/components/Slider.js","textSpan":{"start":118,"length":12},"kind":"property","name":"defaultProps","containerName":"Slider","contextSpan":{"start":111,"length":95},"isLocal":true}],"responseRequired":true}
{"command":"definition-full","arguments":{"position":1960,"file":"D:/local/Temp/fuzzerWorkingDir/carbon/components/Slider.js"},"type":"request","seq":10}
{"response":[],"responseRequired":true}
{"command":"references-full","arguments":{"position":127,"file":"D:/local/Temp/fuzzerWorkingDir/carbon/components/Slider.js"},"type":"request","seq":11}
{"response":[{"definition":{"containerKind":"","containerName":"","fileName":"D:/local/Temp/fuzzerWorkingDir/carbon/components/Slider.js","kind":"property","name":"(property) Slider.defaultProps: {\n onMouseDown: () => void;\n onMouseUp: () => void;\n unit: string;\n}","textSpan":{"start":118,"length":12},"displayParts":[{"text":"(","kind":"punctuation"},{"text":"property","kind":"text"},{"text":")","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"Slider","kind":"className"},{"text":".","kind":"punctuation"},{"text":"defaultProps","kind":"propertyName"},{"text":":","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"{","kind":"punctuation"},{"text":"\n","kind":"lineBreak"},{"text":" ","kind":"space"},{"text":"onMouseDown","kind":"propertyName"},{"text":":","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"(","kind":"punctuation"},{"text":")","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"=>","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"void","kind":"keyword"},{"text":";","kind":"punctuation"},{"text":"\n","kind":"lineBreak"},{"text":" ","kind":"space"},{"text":"onMouseUp","kind":"propertyName"},{"text":":","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"(","kind":"punctuation"},{"text":")","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"=>","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"void","kind":"keyword"},{"text":";","kind":"punctuation"},{"text":"\n","kind":"lineBreak"},{"text":" ","kind":"space"},{"text":"unit","kind":"propertyName"},{"text":":","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"string","kind":"keyword"},{"text":";","kind":"punctuation"},{"text":"\n","kind":"lineBreak"},{"text":"}","kind":"punctuation"}],"contextSpan":{"start":111,"length":95}},"references":[{"textSpan":{"start":118,"length":12},"fileName":"D:/local/Temp/fuzzerWorkingDir/carbon/components/Slider.js","contextSpan":{"start":111,"length":95},"isWriteAccess":true,"isDefinition":true}]}],"responseRequired":true}
{"command":"references-full","arguments":{"position":1960,"file":"D:/local/Temp/fuzzerWorkingDir/carbon/components/Slider.js"},"type":"request","seq":12}
{"response":[],"responseRequired":true}
{"command":"completions-full","arguments":{"position":127,"file":"D:/local/Temp/fuzzerWorkingDir/carbon/components/Slider.js","includeExternalModuleExports":true,"includeInsertTextCompletions":true},"type":"request","seq":13}
(Showing last 10 of 15039 commands)
Code (components\Slider.js):
height: 33px;
width: 100%;
background: ${COLORS.DARK_GRAY};
// ^
}
`}Hash: 5d7e1bb7851b8c2056b436ceeed65053
Stack trace:
TypeError: Cannot read property 'exportSymbol' of undefined
at getTypeOfSymbolAtLocation (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:62492:29)
at Object.getTypeOfSymbolAtLocation (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:42570:35)
at D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:117157:130
at Object.flatMap (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:707:25)
at tryGetClassLikeCompletionSymbols (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:117155:42)
at tryGetGlobalSymbols (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:116518:24)
at getCompletionData (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:116314:22)
at Object.getCompletionsAtPosition (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:115656:34)
at Object.getCompletionsAtPosition (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:143958:35)
at Session.getCompletions (D:\home\site\wwwroot\node_modules\typescript\lib\tsserverlibrary.js:154335:64)
Originally posted by @typescript-bot in https://github.com/microsoft/tsserverfuzzer/issues/223#issuecomment-663653640
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone