[SR-12183] Compiler emits bad error when using implicit member expression for failable init #54608
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
This bug was discovered in Xcode 11.3 using Swift 5.0.
Additional Detail from JIRA
md5: d0fe9e7a6a49f308f1c7ce1f5cc3bbf3
Issue Description:
Minimal example:
This bug applies regardless of whether
Foo
is an enum, struct, or class.The text was updated successfully, but these errors were encountered: