Files
swift-mirror/test/PrintAsObjC/Inputs/custom-modules/SingleGenericClass.h
Jordan Rose 7add05fa38 [PrintAsObjC] Use of imported generics require the full definition. (#5518)
I'm not sure why this didn't occur to me in 8282160d: of course if you
see a generic type with arguments, you need to see the @interface for
that type in order to supply the arguments. Maybe I was thinking the
generated interface would automatically import anything the module
itself imports, but that hasn't ever been true.

rdar://problem/28738008
2016-10-31 10:34:25 -07:00

7 lines
191 B
Objective-C

// This file is meant to be included with modules turned off, compiled against
// the fake clang-importer-sdk.
#import <Foundation.h>
@interface SingleImportedObjCGeneric<A> : NSObject
@end