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.
1 parent a92724b commit 62ca2aaCopy full SHA for 62ca2aa
lib/SIL/SILFunctionType.cpp
@@ -983,10 +983,8 @@ class DestructureInputs {
983
for (auto i : indices(substTupleTy.getElementTypes())) {
984
auto &elt = substTupleTy->getElement(i);
985
auto ownership = elt.getParameterFlags().getValueOwnership();
986
- // FIXME(swift3): Once the entire parameter list is no longer a
987
- // target for substitution, re-enable this.
988
- // assert(ownership == ValueOwnership::Default);
989
- // assert(!elt.isVararg());
+ assert(ownership == ValueOwnership::Default);
+ assert(!elt.isVararg());
990
visit(ownership, forSelf,
991
origType.getTupleElementType(i),
992
CanType(elt.getRawType()), rep);
0 commit comments