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 2bb3212 commit 4feae67Copy full SHA for 4feae67
lib/SILOptimizer/Mandatory/SILGenCleanup.cpp
@@ -124,6 +124,7 @@ bool SILGenCleanup::completeOSSALifetimes(SILFunction *function) {
124
}
125
126
for (SILArgument *arg : block->getArguments()) {
127
+ assert(!arg->isReborrow() && "reborrows not legal at this SIL stage");
128
if (completion.completeOSSALifetime(arg) ==
129
LifetimeCompletion::WasCompleted) {
130
changed = true;
0 commit comments