[Issue 539] can't instantiate nested template of same name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 9 18:33:27 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=539


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
           Keywords|                            |rejects-valid




------- Comment #2 from smjg at iname.com  2007-09-09 20:33 -------
By my analysis:

- the line commented "compile error" should not compile - because test!(int)
evaluates not to the template instance itself, but to the template function
therein.

- the line commented "syntax error" should compile and pass the assert.

And BTW, please report compiler messages in full.


-- 



More information about the Digitalmars-d-bugs mailing list