// This fixed a problem in the JIT. public class Stack[T] { mutable data : array [T]; public this () { data = array(10); } public Add ( t : T) : void { data [0] = t; } } struct Foo { mutable a : int; } class X { static Main () : void { mutable foo = Foo (); mutable stack = Stack (); stack.Add (foo); } } /* BEGIN-OUTPUT END-OUTPUT */