[Issue 20507] Debug statements affect inference of templated functions attributes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 16 00:49:37 UTC 2020


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #10726 "Fix Issue 20507 - Debug statements affect
inference..." was merged into master:

- a7750e0a949f5f3183aecd5a3c9943e19078f6f6 by MoonlightSentinel:
  Fix Issue 20507 - Debug statements affect inference...

  ...of templated functions attributes.

  This was caused by marking the function as @system/non- at nogc/non-nothrow
BEFORE
  checking whether the statement is inside an debug statement / block

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

--


More information about the Digitalmars-d-bugs mailing list