[Issue 11554] `is(T == enum); ` produces an error if T is an enum defined with no members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 27 02:27:34 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11554



--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> 2013-11-27 02:26:50 PST ---
(In reply to comment #3)
> Here is another test case. The bug still shows up if the member-less enum is in
> another module. Works with version 2.064. Fails with github head.

Reduced case:

enum zoo;
struct bro(N...) {}
static assert(!is(zoo unused : bro!M, M...));

https://github.com/D-Programming-Language/dmd/pull/2889

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list