[Issue 20507] Debug statements affect inference of templated functions attributes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 15 15:38:28 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20507
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at 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- 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