Skip to content

Commit 72f6f5b

Browse files
committed
Update definitions.py as well
1 parent 0a1797a commit 72f6f5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

design/mvp/canonical-abi/definitions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ def unpack_flags_from_int(i, labels):
544544

545545
def lift_own(cx, i, t):
546546
h = cx.inst.handles.remove(t.rt, i)
547+
trap_if(not h.own)
547548
return h.rep
548549

549550
def lift_borrow(cx, i, t):

0 commit comments

Comments
 (0)