[Issue 20138] is expression not evaluating correctly?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 20 08:24:00 UTC 2019


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

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

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

--- Comment #13 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #10317 "fix issue 20138 - is expression not evaluating
correctly?" was merged into master:

- 5b5219e7c2f5c9abe17b82cb38847a84d87517ca by aG0aep6G:
  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`.

- cc9b34c49edb1b3e012294c0fbbbcf605369c5eb by aG0aep6G:
  add changelog entry for issue 20138

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

--


More information about the Digitalmars-d-bugs mailing list