Skip to content

Make contextFlags an explicitly required parameter - #49720

Merged
Jake Bailey (jakebailey) merged 2 commits into
microsoft:mainfrom
jakebailey:fix-44596-followup
Jul 6, 2022
Merged

Jake Bailey (jakebailey) merged 2 commits into
microsoft:mainfrom
jakebailey:fix-44596-followup

Conversation

@jakebailey

@jakebailey Jake Bailey (jakebailey) commented Jun 29, 2022 •

Copy link
Copy Markdown
Member

This is a followup to #49707.

There are more places we don't pass contextFlags down; make the parameter required to make it harder to forget to pass it.

It seems to me that all of the cases where we add contextFlags to a call are bugs, but I haven't been able to think up any test cases to exhibit them. e.g., I would think that you could create a test somewhat like that in #49707 but where the inferred type is in a yield, but I'm not sure how.

@jakebailey
Jake Bailey (jakebailey) merged commit 59238db into microsoft:main Jul 6, 2022
@jakebailey
Jake Bailey (jakebailey) deleted the fix-44596-followup branch July 6, 2022 23:11
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants