@@ -765,22 +765,13 @@ void AbstractionPattern::print(raw_ostream &out) const {
765
765
case Kind::CurriedCFunctionAsMethodType:
766
766
case Kind::PartialCurriedCFunctionAsMethodType:
767
767
case Kind::CFunctionAsMethodType:
768
- case Kind::CXXMethodType:
769
- case Kind::CurriedCXXMethodType:
770
- case Kind::PartialCurriedCXXMethodType:
771
768
out << (getKind () == Kind::ClangType
772
769
? " AP::ClangType(" :
773
770
getKind () == Kind::CurriedCFunctionAsMethodType
774
771
? " AP::CurriedCFunctionAsMethodType(" :
775
- getKind () == Kind::CFunctionAsMethodType
776
- ? " AP::CFunctionAsMethodType(" :
777
- getKind () == Kind::CXXMethodType
778
- ? " AP::CXXMethodType(" :
779
- getKind () == Kind::CurriedCXXMethodType
780
- ? " AP::CurriedCXXMethodType(" :
781
- getKind () == Kind::PartialCurriedCXXMethodType
782
- ? " AP::PartialCurriedCXXMethodType("
783
- : " AP::PartialCurriedCFunctionAsMethodType(" );
772
+ getKind () == Kind::PartialCurriedCFunctionAsMethodType
773
+ ? " AP::PartialCurriedCFunctionAsMethodType("
774
+ : " AP::CFunctionAsMethodType(" );
784
775
if (auto sig = getGenericSignature ()) {
785
776
sig->print (out);
786
777
}
@@ -800,6 +791,23 @@ void AbstractionPattern::print(raw_ostream &out) const {
800
791
}
801
792
out << " )" ;
802
793
return ;
794
+ case Kind::CXXMethodType:
795
+ case Kind::CurriedCXXMethodType:
796
+ case Kind::PartialCurriedCXXMethodType:
797
+ out << (getKind () == Kind::CXXMethodType
798
+ ? " AP::CXXMethodType(" :
799
+ getKind () == Kind::CurriedCXXMethodType
800
+ ? " AP::CurriedCXXMethodType("
801
+ : " AP::PartialCurriedCXXMethodType" );
802
+ if (auto sig = getGenericSignature ()) {
803
+ sig->print (out);
804
+ }
805
+ getType ().dump (out);
806
+ out << " , " ;
807
+ getCXXMethod ()->dump ();
808
+ assert (!hasImportAsMemberStatus ());
809
+ out << " )" ;
810
+ return ;
803
811
case Kind::CurriedObjCMethodType:
804
812
case Kind::PartialCurriedObjCMethodType:
805
813
case Kind::ObjCMethodType:
0 commit comments