You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Constraints/diagnostics.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -412,7 +412,7 @@ func f20371273() {
412
412
func rdar21078316(){
413
413
varfoo:[String:String]?
414
414
varbar:[(String,String)]?
415
-
bar = foo.map{($0, $1)} // expected-error {{contextual type for closure argument list expects 1 argument, but 2 were specified}}
415
+
bar = foo.map{($0, $1)} // expected-error {{contextual closure type '([String : String]) -> [(String, String)]' expects 1 argument, but 2 were used in closure body}}
0 commit comments