File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 99// REQUIRES: asserts
1010// REQUIRES: swift_in_compiler
1111
12- // REQUIRES: rdar126415070
13-
1412// Simply test that it is possible for a module to define a pseudo-Optional type without triggering any compiler errors.
1513
1614public protocol ExpressibleByNilLiteral: ~ Copyable & ~ Escapable {
@@ -61,7 +59,7 @@ extension Nillable where Wrapped: ~Copyable {
6159 _ transform: ( borrowing Wrapped ) throws ( E ) -> U
6260 ) throws ( E) -> U ? {
6361 switch self {
64- case . some( _borrowing y) :
62+ case . some( borrowing y) :
6563 return . some( try transform ( y) )
6664 case . none:
6765 return . none
@@ -85,7 +83,7 @@ extension Nillable where Wrapped: ~Copyable {
8583 _ transform: ( borrowing Wrapped ) throws ( E ) -> U ?
8684 ) throws ( E) -> U ? {
8785 switch self {
88- case . some( _borrowing y) :
86+ case . some( borrowing y) :
8987 return try transform ( y)
9088 case . none:
9189 return . none
You can’t perform that action at this time.
0 commit comments