mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Remove requiresSubstitution invariant from Witness
This commit is contained in:
@@ -1573,9 +1573,7 @@ void Serializer::writeNormalConformance(
|
||||
// Write the witness substitutions.
|
||||
writeSubstitutions(witness.getSubstitutions(),
|
||||
DeclTypeAbbrCodes,
|
||||
witness.requiresSubstitution()
|
||||
? witness.getSyntheticEnvironment()
|
||||
: nullptr);
|
||||
witness.getSyntheticEnvironment());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user