You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/attr/attr_override.swift
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -380,4 +380,25 @@ class MismatchOptional3 : MismatchOptionalBase {
380
380
overridefunc result()->Optional<Int>{returnnil} // expected-error {{cannot override instance method result type 'Int' with optional type 'Optional<Int>'}} {{none}}
381
381
}
382
382
383
+
// Make sure we remap the method's innermost generic parameters
0 commit comments