Pattern matching should decide on how to deal with restricted types #27851
Labels
Area-Compilers
Concept-Design Debt
Engineering Debt, Design Debt, or poor product code quality
Feature - Pattern Matching
Pattern Matching
A recent bug (#27803) revealed how pattern matching interacts with restricted types in interesting ways (when doing type checks).
We should discuss with LDM on whether this should be banned (like pointer types), and if there are actual use cases that need it.
The text was updated successfully, but these errors were encountered: