Skip to content

Commit 6035203

Browse files
committed
---
yaml --- r: 349207 b: refs/heads/master-next c: 1b7da04 h: refs/heads/master i: 349205: cc5a0a5 349203: c15129b 349199: 5b39f53
1 parent 795a818 commit 6035203

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: 1cc1e58520fe45dc8af6f27911855744ac81dcec
3+
refs/heads/master-next: 1b7da04be851687990c4bbba71f1c14019dfe0a3
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/test/Sema/suppress-argument-labels-in-types.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,5 @@ func testIntermediateCoercions() {
220220
func iuoReturning() -> Int! {}
221221
_ = (iuoReturning as () -> Int?)()
222222
_ = (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}}
224224
}

0 commit comments

Comments
 (0)