File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
branches/master-next/test/Sema Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3
- refs/heads/master-next: 1cc1e58520fe45dc8af6f27911855744ac81dcec
3
+ refs/heads/master-next: 1b7da04be851687990c4bbba71f1c14019dfe0a3
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
6
6
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07
Original file line number Diff line number Diff line change @@ -220,5 +220,5 @@ func testIntermediateCoercions() {
220
220
func iuoReturning( ) -> Int ! { }
221
221
_ = ( iuoReturning as ( ) -> Int ? ) ( )
222
222
_ = ( iuoReturning as Magic ) ( )
223
- _ = ( iuoReturning as ( ) -> Int ) ( ) // expected-error {{'() -> Int?' is not convertible to '() -> Int'; did you mean to use 'as!' to force downcast? }}
223
+ _ = ( iuoReturning as ( ) -> Int ) ( ) // expected-error {{cannot convert value of type '() -> Int?' to type '() -> Int' in coercion }}
224
224
}
You can’t perform that action at this time.
0 commit comments