Skip to content

Conversation

@weswigham
Copy link
Member

@weswigham weswigham commented Jan 21, 2021

Fixes #42337 - thanks @xandris for the small repro.
Fixes #42336

Notably, as the test demonstrates, our old behavior is inconsistent between equivalent forms of non-distributive conditional; so I feel like limiting the any-picks-both-branches behavior to only distributive conditionals might be a worthwhile future intentional break.

…n all nondistributive conditionals for backcompat
@weswigham weswigham merged commit 2730cb2 into microsoft:master Jan 29, 2021
@weswigham weswigham deleted the fix-any-check-type branch January 29, 2021 07:36
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mongoose has assignability error after #42248 meteor/meteor-astronomy: bogus excess property error after #42248

3 participants