mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Strip all remaining TypeResolutionOptions parameters
Now that these are stored in the TypeResolution object itself, and all callers that mutate flags create a new resolution object, this data can be derived from the resolution itself.
This commit is contained in:
@@ -1092,7 +1092,6 @@ ConstraintSystem::getTypeOfReference(ValueDecl *value,
|
||||
auto type = TypeChecker::resolveTypeInContext(
|
||||
typeDecl, nullptr,
|
||||
TypeResolution::forContextual(useDC, TypeResolverContext::InExpression),
|
||||
TypeResolverContext::InExpression,
|
||||
/*isSpecialized=*/false);
|
||||
|
||||
checkNestedTypeConstraints(*this, type, locator);
|
||||
|
||||
Reference in New Issue
Block a user