[SR-7229] Unexpected ambiguity error #49777
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.2
type checker
Area → compiler: Semantic analysis
Environment
swift-DEVELOPMENT-SNAPSHOT-2018-03-17-a.xctoolchain
iOS SDK from Xcode 9.2:
Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
Additional Detail from JIRA
md5: 8600a956a0c0a5ab22f49113a8df937b
relates to:
Issue Description:
The below code generates an unexpected error:
Error:
Builds fine with Swift from Xcode 9.2 (Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)) but fails with swift-DEVELOPMENT-SNAPSHOT-2018-03-17-a.xctoolchain.
Full invocation and output:
The text was updated successfully, but these errors were encountered: