[SR-10903] Bad diagnostic for unnamed static computed property in class #53293
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
Environment
Swift version 5.1-dev (LLVM e56fafcd29, Swift fe3ba2d77a)
Target: x86_64-apple-darwin18.5.0
Additional Detail from JIRA
md5: f6faabc4f9ade31bd9680e10e5e795e6
Issue Description:
For the following code:
we emit the following diagnostic (amongst others):
It looks like while the VarDecl is being marked as being static, its pattern binding decl isn't having its static spelling kind correctly set.
The text was updated successfully, but these errors were encountered: