Thread overview
[Issue 20389] __traits(isDisabled) with invalid template function
Nov 13, 2019
John Hall
Dec 17, 2022
Iain Buclaw
November 13, 2019
https://issues.dlang.org/show_bug.cgi?id=20389

--- Comment #1 from John Hall <john.michael.hall@gmail.com> ---
It seems that this is related to not having a module defined...

When I add something like
module A;
to the top and then
static assert(__traits(isDisabled, A.foo));
compiles without error when U is there and if U is removed then it gives the
error that T is not defined.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=20389

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 13
https://issues.dlang.org/show_bug.cgi?id=20389

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19640

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--