Files
swift-mirror/test/SILGen/Inputs/protocol-static-reqt-objc-class-impl.h
Joe Groff 4f1e895e56 SILGen: Use lowered function type parameters in objc-to-swift thunks for initializers.
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.
2025-09-08 09:42:32 -07:00

8 lines
80 B
Objective-C

@import Foundation;
@interface C: NSObject
+(_Nonnull instancetype)foo;
@end