[SR-11788] "Add explicit 'self.'" fix-it should insert "Type." for a static property #54198
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.1-dev (Swift 08a27b1b54)
Target: x86_64-apple-darwin19.0.0
Additional Detail from JIRA
md5: f0f3550a71e6239fdc10a629d47d69d3
Issue Description:
For the following:
We incorrectly suggest adding "self." to refer to the static property. We should be suggesting "S." instead.
The text was updated successfully, but these errors were encountered: