[SR-15292] Key path literal gives bogus diagnostic message for unwrapping #57614
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: 2fa2ab67b572f5c821108b477ec42d1d
Issue Description:
This code:
Fails to compile with the error "Value of optional type 'String?' must be unwrapped to refer to member 'count' of wrapped base type 'String'" which is clearly wrong.
The text was updated successfully, but these errors were encountered: