Skip to content

Don’t auto-import undefined - #35504

Merged
Andrew Branch (andrewbranch) merged 1 commit into
microsoft:masterfrom
andrewbranch:bug/35458
Dec 5, 2019
Merged

Don’t auto-import undefined#35504
Andrew Branch (andrewbranch) merged 1 commit into
microsoft:masterfrom
andrewbranch:bug/35458

Conversation

@andrewbranch

Copy link
Copy Markdown
Member

Fixes #35458

An external module that exports undefined caused some code added in #32517 to crash. It turns out I was unable to actually reproduce that exact crash in a failing test because the test harness throws immediately upon discovering multiple completions for undefined, which is pretty fair, so I
now filter undefined from being considered as an auto-import altogether.

@sandersn

Copy link
Copy Markdown
Member

Also fixes #35036, as far as I can tell, since repros have stopped coming in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants