Paste: recursive shared pointer fails

Author: j
Mode: text
Date: Mon, 16 Aug 2010 04:21:27
Plain Text |
record Foo { x: SharedPointer[Bar]; y: SharedPointer[Bar]; }
variant Bar = Int | Foo;

main() {
    var y = Foo(allocateShared(Bar(0)), allocateShared(Bar(0)));
}

New Annotation

Summary:
Author:
Mode:
Body: