Skip to content

Conversation

@harahu
Copy link

@harahu harahu commented Sep 26, 2024

Fixes #13083, or rather shows that the issue is not in fact an issue, by showing that even though the output from reveal_type is misleadingly narrow, the actual inferred type is as general as can be expected.

Adds an xfailing test specifically targeting the behavior of reveal_type, which is misleading the user.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Faulty type narrowing with value restrictions

1 participant