[NFC] Swap CodeCompletion's lookupQualified for TypeChecker's

This call relied on semantic member synthesis, so now it has to go through TypeChecker::lookupQualified.
This commit is contained in:
Robert Widmann
2019-12-06 14:18:31 -08:00
parent dd51251014
commit 00407857d0
3 changed files with 23 additions and 15 deletions

View File

@@ -35,6 +35,7 @@ namespace swift {
class Expr;
class ExtensionDecl;
class FunctionType;
class LookupResult;
class NominalTypeDecl;
class PatternBindingDecl;
class ProtocolDecl;
@@ -137,6 +138,9 @@ namespace swift {
/// \returns true on success, false on error.
bool typeCheckTopLevelCodeDecl(TopLevelCodeDecl *TLCD);
LookupResult
lookupSemanticMember(DeclContext *DC, Type ty, DeclName name);
struct ExtensionInfo {
// The extension with the declarations to apply.
ExtensionDecl *Ext;