The following (Reference_Valid_11) fails for reasons unknown:
type Cyclic is { null|&Cyclic ptr, int data }
public export method test():
&Cyclic p = new {ptr:null, data: 0}
&Cyclic q = new {ptr:p, data: 0}
// Make it cyclic!
p->ptr = q
The relevant Boogie is (removing all box / unbox operations):
The following (
Reference_Valid_11
) fails for reasons unknown:The relevant Boogie is (removing all
box
/unbox
operations):