On Wednesday, 28 January 2015 at 12:32:29 UTC, Tobias Pankrath wrote:In your case above, it's std.variant : Variant, which does not work when shared.I look into variant.d and after seeing so many lines "@@@ BUG" - strange that it somehow works. :)
AAs are a messy part of the language right now due to how they're implemented. A new implementation is being worked on but it's a tricky thing to fix.