https://issues.dlang.org/show_bug.cgi?id=20389
--- Comment #1 from John Hall <[email protected]> --- 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. --
