TypeScript Version: nightly (2.1.0-dev.20161028)
I'm not sure what code is causing this issue, as I have a few dozen code files and no particular file seems to be called out in the error.
Error: Debug Failure. False expression: Unexpected node.
Verbose Debug Information: Node 136 was unexpected.
at Object.assert (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:1711:23)
at Object.Debug.failBadSyntaxKind (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:35627:55)
at serializeTypeNode (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:36745:30)
at serializeTypeNode (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:36721:56)
at serializeTypeOfNode (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:36616:28)
at addOldTypeMetadata (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:36566:120)
at addTypeMetadata (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:36560:17)
at transformAllDecoratorsOfDeclaration (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:36479:13)
at generateClassElementDecorationExpression (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:36504:40)
at generateClassElementDecorationExpressions (C:\Users\error\Documents\src\working\r3-repro\node_modules\typescript\lib\tsc.js:36490:34)
Here is the tsconfig:
{
"compilerOptions": {
"target": "es2015",
"outDir": "js",
"module": "system",
"moduleResolution": "node",
"lib": [ "dom", "es2017" ],
"rootDirs": [ "ts", "../ts" ],
"types": [ "systemjs", "mathjs" ],
"allowSyntheticDefaultImports": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"strictNullChecks": false
},
"include": [
"ts/**/*",
"../ts/**/*"
]
}
TypeScript Version: nightly (2.1.0-dev.20161028)
I'm not sure what code is causing this issue, as I have a few dozen code files and no particular file seems to be called out in the error.
Here is the tsconfig:
{ "compilerOptions": { "target": "es2015", "outDir": "js", "module": "system", "moduleResolution": "node", "lib": [ "dom", "es2017" ], "rootDirs": [ "ts", "../ts" ], "types": [ "systemjs", "mathjs" ], "allowSyntheticDefaultImports": false, "experimentalDecorators": true, "emitDecoratorMetadata": true, "strictNullChecks": false }, "include": [ "ts/**/*", "../ts/**/*" ] }