We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3fe5c9 + d3a03f7 commit 8747cf2Copy full SHA for 8747cf2
lib/SILGen/SILGenFunction.cpp
@@ -518,9 +518,9 @@ void SILGenFunction::emitArtificialTopLevel(ClassDecl *mainClass) {
518
// we're getting away with it because the types are guaranteed to already
519
// be imported.
520
ASTContext &ctx = getASTContext();
521
- DeclContext *UIKit = ctx.getLoadedModule(ctx.getIdentifier("UIKit"));
+ ModuleDecl *UIKit = ctx.getLoadedModule(ctx.getIdentifier("UIKit"));
522
SmallVector<ValueDecl *, 1> results;
523
- UIKit->lookupQualified(UIKit->getDeclaredInterfaceType(),
+ UIKit->lookupQualified(UIKit->getInterfaceType(),
524
ctx.getIdentifier("UIApplicationMain"),
525
NL_QualifiedDefault,
526
/*resolver*/nullptr,
0 commit comments