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 34d52bb commit e8cc1f1Copy full SHA for e8cc1f1
test/Parse/type_expr.swift
@@ -297,7 +297,7 @@ func complexSequence() {
297
// (type_expr typerepr='P1 & P2 throws -> P3 & P1')))
298
_ = try P1 & P2 throws -> P3 & P1
299
// expected-warning @-1 {{no calls to throwing functions occur within 'try' expression}}
300
- // expected-error @-2 {{single argument function types require parentheses}} {{none}} {{11-11=(}} {{18-18=)}}
+ // expected-error @-2 {{single argument function types require parentheses}} {{11-11=(}} {{18-18=)}}
301
// expected-error @-3 {{expected member name or constructor call after type name}}
302
// expected-note @-4 {{use '.self' to reference the type object}} {{11-11=(}} {{36-36=).self}}
303
}
0 commit comments