Patterns in if case
avoid MiscDiagnostics
#75389
Labels
accepts invalid
Bug: Accepts invalid
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
enum case patterns
Feature → patterns: Enumeration case patterns
patterns
Feature: patterns
swift 6.0
type checker
Area → compiler: Semantic analysis
The following is incorrectly allowed to compile:
The text was updated successfully, but these errors were encountered: