Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Error: Debug Failure. False expression: Unexpected node. #11933

Copy link
Copy link
@ghost

Description

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/**/*"
    ]
}
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.