[Issue 965] New: incorrect result for "is(BadTemplate!())"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 15 01:44:40 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=965
Summary: incorrect result for "is(BadTemplate!())"
Product: D
Version: 1.005
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: thomas-dloop at kuehne.cn
This is a variation of issue #826
# class Templ(T){
# this(){
# unknown_identifier = 0;
# }
# }
#
# static assert(false == is(Templ!(int)));
bug_e2ir_520_C.d(18): static assert (0 == 1) is false
test case:
http://dstress.kuehne.cn/compile/b/bug_e2ir_520_B.d
--
More information about the Digitalmars-d-bugs
mailing list