Skip to content

Error: Debug Failure. Unhandled class member kind! 33587200 #40385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
saschanaz opened this issue Sep 4, 2020 · 0 comments · Fixed by #40456
Closed

Error: Debug Failure. Unhandled class member kind! 33587200 #40385

saschanaz opened this issue Sep 4, 2020 · 0 comments · Fixed by #40456
Assignees
Labels
Bug A bug in TypeScript Fix Available A PR has been opened for this issue

Comments

@saschanaz
Copy link
Contributor

TypeScript Version: 4.0.2

Search Terms: unhandled class member

Steps

  1. Clone https://github.com/w3c/webidl2.js/tree/aa38fd7b922849552e5b8f199fcf9d39cc84b5fd
  2. Run npm i && npx tsc --declaration --allowJs --outDir types --emitDeclarationOnly on the directory

Expected behavior: No error

Actual behavior:

> npx tsc --declaration --allowJs --outDir types --emitDeclarationOnly
C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:84772
                throw e;
                ^

Error: Debug Failure. Unhandled class member kind! 33587200
    at serializePropertySymbol (C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:39601:41)
    at serializePropertySymbolForInterface (C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:39605:28)
    at C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:39284:104
    at Object.flatMap (C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:426:25)
    at serializeInterface (C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:39284:38)
    at serializeSymbolWorker (C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:39204:25)
    at serializeSymbol (C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:39121:38)
    at C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:39102:25
    at Map.forEach (<anonymous>)
    at visitSymbolTable (C:\Users\Kagami\Documents\GitHub\webidl2.js\node_modules\typescript\lib\tsc.js:39101:33)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Fix Available A PR has been opened for this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants