Skip to content

Commit 7763bad

Browse files
authored
Merge pull request #10768 from CodaFi/lets-not-get-into-specifics
2 parents db744c6 + b19bae4 commit 7763bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ static FuncDecl *buildSubscriptSetterDecl(ClangImporter::Implementation &Impl,
15011501
auto elementTy = dc->mapTypeIntoContext(elementInterfaceTy);
15021502

15031503
auto paramVarDecl =
1504-
new (C) ParamDecl(VarDecl::Specifier::InOut, SourceLoc(), SourceLoc(),
1504+
new (C) ParamDecl(VarDecl::Specifier::Owned, SourceLoc(), SourceLoc(),
15051505
Identifier(), loc, valueIndex->get(0)->getName(),
15061506
elementTy, dc);
15071507
paramVarDecl->setInterfaceType(elementInterfaceTy);

0 commit comments

Comments
 (0)