[SR-3245] Misplaced fix-it for referencing ".init" on instances #45833
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
type checker
Area → compiler: Semantic analysis
Environment
Swift version 3.0.1 (swift-3.0.1-RELEASE)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
md5: 6b927cab0cca019c15c47de969eaea8c
relates to:
Issue Description:
Given
emits:
This fix-it tries to enclose
init
;a.type(of: init)()
Instead, it should be:
The text was updated successfully, but these errors were encountered: