[Issue 2203] typeof(class.template.foo) crashes compiler
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 24 05:50:27 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2203
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
Keywords| |ice-on-invalid-code
------- Comment #1 from smjg at iname.com 2008-11-24 07:50 -------
Though the code above is valid, I'm marking this as ice-on-invalid-code because
the root cause of it is that the compiler crashes trying to make sense of the
invalid typeof.
class C
{
template Bar()
{
}
}
typeof(C.Bar.foo) quux;
--
More information about the Digitalmars-d-bugs
mailing list