www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 616] New: ICE defining templates with unallowed template parameter types

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=616

           Summary: ICE defining templates with unallowed template parameter
                    types
           Product: D
           Version: 0.175
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: brunodomedeiros+bugz gmail.com


ICE defining templates with unallowed template parameter types. 
Any of the following one-liners crash the compiler:
-------
template Tpl1(int[] T) { }
template Tpl2(int[1] T) { }
template Tpl3(Object T) { }


-- 
Nov 28 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=616


thomas-dloop kuehne.cn changed:

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




------- Comment #1 from thomas-dloop kuehne.cn  2006-11-29 15:29 -------


*** This bug has been marked as a duplicate of 585 ***


-- 
Nov 29 2006