[Issue 22283] -preview=in -inline leads to strange error inside object.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 18 22:30:16 UTC 2021


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

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

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

--- Comment #7 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3592 "[stable] Fix 22283: Weird error in object
with inline and preview=in" was merged into master:

- 096fa3656feece08d2fce6cd018f6bdacf83c175 by Geod24:
  Fix 22283: Weird error in object with inline and preview=in

  This happens because preview=in uses a 'stronger' version of 'in',
  which makes 'scope const' and 'in' parameters not covariant.
  Why it triggers with '-inline' and not without is anyone's guess.

https://github.com/dlang/druntime/pull/3592

--


More information about the Digitalmars-d-bugs mailing list