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/Sema/substring_to_string_conversion_swift4.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ do {
45
45
46
46
// CTP_ClosureResult
47
47
do{
48
-
[ss].map{(x:Substring)->Stringin x } // expected-error {{declared closure result 'Substring' is incompatible with contextual type 'String'}}
48
+
[ss].map{(x:Substring)->Stringin x } // expected-error {{declared closure result 'String' is incompatible with return type 'Substring'}} {{32-38=Substring}}
0 commit comments