Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Jul 1, 2024

Disallow opaque type aliases in match type patterns in scopes where the alias is visible.

@odersky
Copy link
Contributor Author

odersky commented Jul 2, 2024

This should give some protection against using opaque types in match type patterns improperly.

@odersky odersky marked this pull request as draft August 1, 2024 12:21
@odersky odersky force-pushed the change-opaque-matchtypes-1 branch from fa8d00b to 07ac3ed Compare February 16, 2025 10:16
Disallow opaque type aliases in match type patterns in scopes where the alias is visible.
@odersky odersky force-pushed the change-opaque-matchtypes-1 branch from 07ac3ed to 4d71bb4 Compare February 16, 2025 10:19
@odersky
Copy link
Contributor Author

odersky commented Feb 16, 2025

This was a left-over from last summer's named tuple work.

@odersky odersky marked this pull request as ready for review February 16, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants