[SR-8411] Inconsistent ambiguity with optional and non-optional inout-to-pointer #50936
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
Swift version 4.2-dev (LLVM a4d539e482, Clang 773ac0251a, Swift 74466883b6)
Target: x86_64-apple-darwin17.6.0
Additional Detail from JIRA
md5: 500e52ccedfcf9fc8297bb18da8ec065
Issue Description:
The following code only generates ambiguity errors in 2 out of the 3 cases:
I think we should treat all 3 cases consistently.
The text was updated successfully, but these errors were encountered: