Thread overview
[Issue 405] New: typeof in TemplateParameterList causes compiletime segmentfault
Oct 06, 2006
d-bugmail
Oct 10, 2006
d-bugmail
Oct 12, 2006
Thomas Kuehne
October 06, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=405

           Summary: typeof in TemplateParameterList causes compiletime
                    segmentfault
           Product: D
           Version: 0.168
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: thomas-dloop@kuehne.cn


#
# template square(typeof(x) x){
#     const square = x * x;
# }
#
# const b = square!(1.2);
#


-- 

October 10, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=405


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2006-10-10 03:32 -------
Fixed DMD 0.169


-- 

October 12, 2006
d-bugmail@puremagic.com schrieb am 2006-10-06:
> http://d.puremagic.com/issues/show_bug.cgi?id=405

> #
> # template square(typeof(x) x){
> #     const square = x * x;
> # }
> #
> # const b = square!(1.2);
> #

Added to DStress as http://dstress.kuehne.cn/nocompile/t/typeof_14_A.d http://dstress.kuehne.cn/nocompile/t/typeof_14_B.d

Thomas