[Issue 581] Error message w/o line number in dot-instantiated template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 2 07:13:41 PST 2008


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


clugdbug at yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Error message without line  |Error message w/o line
                   |number in tricky template   |number in dot-instantiated
                   |code                        |template




------- Comment #1 from clugdbug at yahoo.com.au  2008-01-02 09:13 -------
I cut this example down a lot - to one line in fact!
It's the . in the template instantiation that triggers it.
---------------------------
static assert(.a!().b);
---------------------------
Output:
-----------
bug.d(15): Error: template identifier a is not a member of module bug
Error: no property 'b' for type 'int'
--------


-- 



More information about the Digitalmars-d-bugs mailing list