mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fixes a regression caused by the `self` declaration being given a `DynamicSelfType` even though the formal type of the enclosing function sometimes still uses the concrete base class type. Fixes #83876 | rdar://158956768.
8 lines
80 B
Objective-C
8 lines
80 B
Objective-C
@import Foundation;
|
|
|
|
@interface C: NSObject
|
|
|
|
+(_Nonnull instancetype)foo;
|
|
|
|
@end
|