[Issue 21793] Cannot initialize shared member with -preview=nosharedaccess

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 3 02:33:54 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21793

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12348 "Fix 21793 - Cannot initialize shared member with
-preview=nosharedaccess" was merged into master:

- 32e58278fd31b5cdf77f11e9510d63ca14084685 by MoonlightSentinel:
  Fix 21793 - Cannot initialize shared member with -preview=nosharedaccess

  Move the `shared` check after the `ConstructExp` lowering (which may
  ignore `shared`) and allow calls to `shared` functions in `DotVarExp`'s.

https://github.com/dlang/dmd/pull/12348

--


More information about the Digitalmars-d-bugs mailing list