On Monday, 29 June 2015 at 12:04:46 UTC, Jonathan M Davis wrote:
You haven't declared an immutable constructor, so you can't construct an immutable Foo.
That's not what's happening. Constructing an immutable Foo works just fine.
On Monday, 29 June 2015 at 12:04:46 UTC, Jonathan M Davis wrote:
You haven't declared an immutable constructor, so you can't construct an immutable Foo.
That's not what's happening. Constructing an immutable Foo works just fine.