[SR-9785] The swiftc compiler in Xcode 10.2 Beta (10P82s) in Swift 4.2 mode reports an ambiguous use error for code that previously worked fine #52211
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
source compatibility
swift 5.0
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 7f201a88976e91c2c463d81b0fd65775
Issue Description:
Steps to reproduce with Xcode 10.2 Beta (10P82s, swiftlang-1001.0.45.7):
Clone https://github.com/stephan-tolksdorf/STULabel
Open STULabel.xcodeproj
Select the 'Demo' scheme
Select a simulator and build the project
Observe the the following compiler error:
The Swift compiler in Xcode 10.1 (10B61) doesn't report this error.
Note: The STULabelSwift extensions with initializers accepting a closure are a workaround for SR-6894.
The text was updated successfully, but these errors were encountered: