You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exporttypeFoo={[Iin(keyofBar)]: Bar[I]}// Bar type is not defined
Expected behavior:
Compiler reports that Bar type is not defined
Actual behavior:
Compiler crashes and does not provide any information on what needs to be done to resolve the issue.
loref@DESKTOP-BBHGJ2D MINGW64 ~/Projects/ts-test (master)
$ yarn run tsc
yarn run v1.3.2
$ tsc
C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:71073
throw e;
^
Error: Debug Failure. This is unknown parent for type parameter: 181
at getTypeParameterConstraintVisibilityError (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:64666:37)
at handleSymbolAccessibilityError (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:64792:33)
at checkEntityNameVisibility (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:65116:13)
at visitDeclarationSubtree (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:65262:25)
at visitNode (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:53426:23)
at Object.visitEachChild (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:53594:56)
at visitDeclarationSubtree (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:65340:31)
at visitNode (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:53426:23)
at Object.visitEachChild (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:53592:57)
at visitDeclarationSubtree (C:\Users\loref\Projects\ts-test\node_modules\typescript\lib\tsc.js:65340:31)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
TypeScript Version: 3.3.0-dev.20181208
Search Terms:
"type parameter: 181"
Code
Expected behavior:
Compiler reports that Bar type is not defined
Actual behavior:
Compiler crashes and does not provide any information on what needs to be done to resolve the issue.
Playground Link: Not reproducible in playground
Related Issues:
The text was updated successfully, but these errors were encountered: