Skip to content

Error: Debug Failure. at Object.assertDefined at Object.getJSDocHost #27341

Closed
@minestarks

Description

@minestarks

TypeScript Version: 3.1.0-dev.20180925

git clone --depth=1 https://github.com/chemzqm/wept
cd wept
tsc --init
tsc --allowJs --checkJs

Compiler crashes with the callstack:

Error: Debug Failure.
    at Object.assertDefined (node_modules\typescript\lib\tsc.js:1268:24)
    at getJSDocHost (node_modules\typescript\lib\tsc.js:7723:25)
    at getHostSignatureFromJSDoc (node_modules\typescript\lib\tsc.js:7709:46)
    at Object.getParameterSymbolFromJSDoc (node_modules\typescript\lib\tsc.js:7700:20)
    at checkJSDocParameterTag (node_modules\typescript\lib\tsc.js:43646:21)
    at checkSourceElement (node_modules\typescript\lib\tsc.js:45970:28)
    at Object.forEach (node_modules\typescript\lib\tsc.js:169:30)
    at node_modules\typescript\lib\tsc.js:45896:31
    at Object.forEach (node_modules\typescript\lib\tsc.js:169:30)
    at checkSourceElement (node_modules\typescript\lib\tsc.js:45894:20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions