move-stackless-bytecode 0.1.5

Move stackless bytecode
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module 0x1::StructEq {

    struct S { f: u64 }

    invariant forall s: S: s == S { f: 10 };

    public fun new(): S {
        S { f: 10 }
    }

    // should complain
    public fun leak_f(s: &mut S): &mut u64 {
        &mut s.f
    }
}