January 15, 2020
https://issues.dlang.org/show_bug.cgi?id=20507

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #10726 "Fix Issue 20507 - Debug statements affect inference..." fixing this issue:

- Fix Issue 20507 - Debug statements affect inference...

  ...of templated functions attributes.

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

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

--
January 16, 2020
https://issues.dlang.org/show_bug.cgi?id=20507

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

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

--- Comment #2 from Dlang Bot <dlang-bot@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-@nogc/non-nothrow
BEFORE
  checking whether the statement is inside an debug statement / block

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

--