mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Adding a location of the var/let/inout to ParamDecl
This commit is contained in:
@@ -2478,7 +2478,7 @@ Decl *ModuleFile::getDecl(DeclID DID, Optional<DeclContext *> ForcedContext) {
|
||||
if (declOrOffset.isComplete())
|
||||
return declOrOffset;
|
||||
|
||||
auto param = createDecl<ParamDecl>(isLet, SourceLoc(),
|
||||
auto param = createDecl<ParamDecl>(isLet, SourceLoc(), SourceLoc(),
|
||||
getIdentifier(argNameID), SourceLoc(),
|
||||
getIdentifier(paramNameID), type, DC);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user