Skip to content

Detect given bindings in for generators #12184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 25, 2021
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 22, 2021

These are considered irrefutable, just like normal bindings.

Fixes #12170

These are considered irrefutable, just like normal bindings.

Fixes scala#12170
@griggt
Copy link
Contributor

griggt commented Apr 22, 2021

Seems like this also fixes #10990

Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests must be added

Co-authored-by: Nicolas Stucki <[email protected]>
@odersky odersky merged commit 855f572 into scala:master Apr 25, 2021
@odersky odersky deleted the fix-12170 branch April 25, 2021 14:23
@Kordyjan Kordyjan added this to the 3.0.1 milestone Aug 2, 2023
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.

Given patterns are never exhaustive, causing withFilter desugaring
4 participants