fix(36936): tsc crashes with: Cannot read property 'get' of undefined#37077
fix(36936): tsc crashes with: Cannot read property 'get' of undefined#37077sandersn merged 1 commit intomicrosoft:masterfrom
Conversation
weswigham
left a comment
There was a problem hiding this comment.
I'm OK with the change as-is, but it'd be nicer to track down why we're calling resolveExternalModuleSymbol on a symbol with no exports instead. Generally speaking, we only call that on a symbol we know to be a module, which, by extension, has exports. So the "real" fix for the underlying issue probably should be tracking down where we fail to give exports to a module-ish symbol.
|
@weswigham You are right. Sorry that I didn't provide more details. I was able to reproduce the bug by debugging the checker. The issue in the
For this case
For the Then -> And finally in |







Fixes #36936