mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Diagnostics] Simplify diagnoseAmbiguityWithFixes by removing AmbiguityKind.
This commit is contained in:
committed by
Pavel Yaskevich
parent
607c298493
commit
54706ba79b
@@ -1085,7 +1085,7 @@ func SR_6272_c() {
|
||||
struct SR_6272_D: ExpressibleByIntegerLiteral {
|
||||
typealias IntegerLiteralType = Int
|
||||
init(integerLiteral: Int) {}
|
||||
static func +(lhs: SR_6272_D, rhs: Int) -> Float { return 42.0 } // expected-note 2 {{candidate expects value of type 'Int' for parameter #2}}
|
||||
static func +(lhs: SR_6272_D, rhs: Int) -> Float { return 42.0 }
|
||||
}
|
||||
|
||||
func SR_6272_d() {
|
||||
|
||||
Reference in New Issue
Block a user