mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Annotate class method dynamic Self return types
Pass through the original Type in addition to the TypeDecl so that we can distinguish DynamicSelfType with underlying ClassType from just any old ClassType. rdar://problem/25158493
This commit is contained in:
@@ -69,8 +69,8 @@ private:
|
||||
void printTypePost(const TypeLoc &TL) override {
|
||||
return OtherPrinter.printTypePost(TL);
|
||||
}
|
||||
void printTypeRef(const TypeDecl *TD, Identifier Name) override {
|
||||
return OtherPrinter.printTypeRef(TD, Name);
|
||||
void printTypeRef(Type T, const TypeDecl *TD, Identifier Name) override {
|
||||
return OtherPrinter.printTypeRef(T, TD, Name);
|
||||
}
|
||||
void printModuleRef(ModuleEntity Mod, Identifier Name) override {
|
||||
return OtherPrinter.printModuleRef(Mod, Name);
|
||||
|
||||
Reference in New Issue
Block a user