[SR-8760] misleading lvalue diagnostic #51268
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 03f58f4bf50f1f6251cb763470a7faa8
Issue Description:
Code:
This code leads to a misleading diagnostic:
Error🙁89, 16) left side of mutating operator isn't mutable: 'v' is a 'let' constant
Tweet reference.
The text was updated successfully, but these errors were encountered: