mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove unused 'resolver' argument from TypeBase::getSuperclass()
This commit is contained in:
@@ -1301,8 +1301,7 @@ class CodeCompletionCallbacksImpl : public CodeCompletionCallbacks {
|
||||
Type DT = DC->getDeclaredTypeOfContext();
|
||||
if (DT.isNull() || DT->is<ErrorType>())
|
||||
return;
|
||||
OwnedResolver TypeResolver(createLazyResolver(CurDeclContext->getASTContext()));
|
||||
Type ST = DT->getSuperclass(TypeResolver.get());
|
||||
Type ST = DT->getSuperclass();
|
||||
if (ST.isNull() || ST->is<ErrorType>())
|
||||
return;
|
||||
if (ST->getNominalOrBoundGenericNominal()) {
|
||||
|
||||
Reference in New Issue
Block a user