mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove ModuleDecl parameter from more places
This commit is contained in:
@@ -79,7 +79,7 @@ deliverResults(SourceKit::ConformingMethodListConsumer &SKConsumer,
|
||||
|
||||
auto funcTy = cast<FuncDecl>(member)->getMethodInterfaceType();
|
||||
funcTy = Result->Result->ExprType->getTypeOfMember(
|
||||
Result->Result->DC->getParentModule(), member, funcTy);
|
||||
member, funcTy);
|
||||
auto resultTy = funcTy->castTo<FunctionType>()->getResult();
|
||||
|
||||
// Name.
|
||||
|
||||
Reference in New Issue
Block a user