mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -846,9 +846,9 @@ private:
|
||||
if (hasPayload && (decl->isIndirect() || enumDecl->isIndirect()))
|
||||
flags.setIsIndirectCase();
|
||||
|
||||
Type interfaceType = Lowering::shouldSkipLowering(decl)
|
||||
? nullptr
|
||||
: decl->getArgumentInterfaceType();
|
||||
Type interfaceType = decl->isAvailableDuringLowering()
|
||||
? decl->getArgumentInterfaceType()
|
||||
: nullptr;
|
||||
|
||||
addField(flags, interfaceType, decl->getBaseIdentifier().str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user