[Issue 2377] ICE with wrong return type for templated method: template.c:784

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 2 17:06:01 PDT 2008


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


bugzilla at digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #1 from bugzilla at digitalmars.com  2008-10-02 19:05 -------
I get:

test5.d(4): Error: cannot implicitly convert expression ("hello") of type
invari
ant(char[5u]) to int
test5.d(9): template instance test5.call!(void) error instantiating

which is correct. I cannot duplicate the problem. Works correctly with D 1 too.


-- 



More information about the Digitalmars-d-bugs mailing list