https://issues.dlang.org/show_bug.cgi?id=24735
Nick Treleaven <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Nick Treleaven <[email protected]> --- > source\text.d(14,12): Error: direct access to shared `ENUM1` is not allowed, > see `core.atomic` With -preview=nosharedaccess. Fixed by https://github.com/dlang/dmd/pull/16788 > source\text.d(27,5): Error: `shared` method `text.A.f` is not callable using > a non-shared object I think that's intentional. --
