mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Simplify SubstOptions down to an OptionSet<>. NFC
We don't need the conformance any longer. Swift SVN r30161
This commit is contained in:
@@ -696,7 +696,7 @@ ArrayRef<Substitution> BoundGenericType::getSubstitutions(
|
||||
// Substitute into the type.
|
||||
SubstOptions options;
|
||||
if (hasTypeVariables)
|
||||
options |= SubstOptions::IgnoreMissing;
|
||||
options |= SubstFlags::IgnoreMissing;
|
||||
auto type = Type(archetype).subst(module, substitutions, options);
|
||||
if (!type)
|
||||
type = ErrorType::get(module->getASTContext());
|
||||
|
||||
Reference in New Issue
Block a user