You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Otherwise the verifier will fail on trivial cases like this:
sil hidden [ossa] @testassign : $@convention(thin) <T> (@inout T, @in T) -> () {
bb0(%0 : $*T, %1 : @owned $T):
store %1 to [assign] %0 : $*T
%3 = tuple ()
return %3 : $()
}
SIL memory lifetime failure in @testassign: memory is initialized at
function return but shouldn't memory location:
%1 = argument of bb0 : $T
0 commit comments