We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e51773 commit 6d3e7e0Copy full SHA for 6d3e7e0
test/Parse/inverses.swift
@@ -100,4 +100,4 @@ typealias Z5 = (~Int) -> Void // expected-error {{type 'Int' is not invertible}}
100
typealias Z6 = ~() -> () // expected-error {{single argument function types require parentheses}}
101
// expected-error@-1 {{type '()' is not invertible}}
102
typealias Z7 = ~(Copyable & Hashable) // expected-error {{type 'Hashable' is not invertible}}
103
-typealias Z8 = ~Copyable & Hashable
+typealias Z8 = ~Copyable & Hashable // expected-error {{composition cannot contain '~Copyable' when another member requires 'Copyable'}}
0 commit comments