[Issue 20138] is expression not evaluating correctly?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 18 18:32:31 UTC 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@aG0aep6G created dlang/dmd pull request #10317 "fix issue 20138 - is
expression not evaluating correctly?" fixing this issue:

- fix issue 20138 - is expression not evaluating correctly?

  When passing a `shared const T` into a `shared U` parameter, then no const
  conversion is needed to infer `U` as `const int`. Same with `inout int` and
  `inout const int`.

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

--


More information about the Digitalmars-d-bugs mailing list