mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModulePrinting: Merge synthesized extensions' bodies if they have the common constraints.
This commit is contained in:
@@ -594,7 +594,8 @@ static bool passCursorInfoForDecl(const ValueDecl *VD,
|
||||
bool InSynthesizedExtension = false;
|
||||
if (BaseType) {
|
||||
if(auto Target = BaseType->getAnyNominal()) {
|
||||
SynthesizedExtensionAnalyzer Analyzer(Target);
|
||||
SynthesizedExtensionAnalyzer Analyzer(Target,
|
||||
PrintOptions::printInterface());
|
||||
InSynthesizedExtension = Analyzer.isInSynthesizedExtension(VD);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user