[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 09:44:20 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22283
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Geod24 created dlang/druntime pull request #3592 "[stable] Fix 22283: Weird
error in object with inline and preview=in" fixing this issue:
- 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