Skip to content

Debug Failure. This is unknown parent for type parameter: 176 #25456

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
bysdxt opened this issue Jul 5, 2018 · 1 comment
Closed

Debug Failure. This is unknown parent for type parameter: 176 #25456

bysdxt opened this issue Jul 5, 2018 · 1 comment
Labels
Bug A bug in TypeScript Crash For flagging bugs which are compiler or service crashes or unclean exits, rather than bad output
Milestone

Comments

@bysdxt
Copy link

bysdxt commented Jul 5, 2018

TypeScript Version: 2.9.2

Search Terms:
This is unknown parent for type parameter

Code
interface i { a: number; }
type x = { [K in Exclude<keyof i, keyof j>]: i[K]; }

Step
Run command 'tsc a.ts' and 'tsc a.ts --declaration true'
The output of command 'tsc a.ts' is right, "error TS2304: Cannot find name 'j'".
But command 'tsc a.ts --declaration true' output something wrong in tsc:
C:\Users\bysdxt\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:63860
throw e;
^

Error: Debug Failure. This is unknown parent for type parameter: 176
a

@jakebailey
Copy link
Member

This was fixed by #30244; #30201 was a duplicate of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Crash For flagging bugs which are compiler or service crashes or unclean exits, rather than bad output
Projects
None yet
Development

No branches or pull requests

7 participants