-
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 output
Milestone
Description
TypeScript Version: 3.7.1-rc
Search Terms:
bindSpecialPropertyAssignment
Repro Instructions
In Visual Studio 2017:
- Create a WinJS APP (Universal Windows) project.
- Add a TypeScript JSON Configuration file in project.
- Delete all code in "tsconfig.json" and add code below:
{
"compilerOptions": {
"module": "commonjs",
"allowJs": true,
"outDir": "out",
"jsx": "react"
},
"exclude": [
"node_modules",
"wwwroot",
"out"
],
"compileOnSave": true,
"typingOptions": {
"enableAutoDiscovery": true
}
} - Build project.
Expected behavior:
Build successful.
Actual behavior:
TSC crashes with the following stack:
1> Unknown output: throw e;
1> Unknown output: ^
1> Unknown output: at Object.cast (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:1309:25)
1> Unknown output: at bindSpecialPropertyAssignment (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:31379:53)
1> Unknown output: at bindWorker (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:30946:29)
1> Unknown output: at bind (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:30825:13)
1> Unknown output: at bindExpressionStatement (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:30033:13)
1> Unknown output: at bindChildrenWorker (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:29494:21)
1> Unknown output: at bindChildren (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:29415:17)
1> Unknown output: at bind (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:30836:21)
1> Unknown output: at C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:29421:94
1> Unknown output: at bindEach (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.7\tsc.js:29437:21)
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 output