[Issue 2274] New: all static if typeof seriously wrong
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 7 14:02:36 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2274
Summary: all static if typeof seriously wrong
Product: D
Version: 2.017
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: someanon at yahoo.com
each of line 16, 17, 18 in attached file t.d
when comment off, will generate an error.
line 16: // wrong: t.A:- t.B:+ t.C:- int:-
line 17: // wrong: t.A:- t.B:- t.C:- int:-
line 18: // wrong: t.A:- t.B:- t.C:- int:-
I wonder if anyone ever used static if typeof at all.
--
More information about the Digitalmars-d-bugs
mailing list