Thread overview
[Issue 750] New: Recursive typeof in function declaration crashes DMD
Dec 26, 2006
d-bugmail
Dec 27, 2006
Thomas Kuehne
Jan 04, 2007
d-bugmail
December 26, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=750

           Summary: Recursive typeof in function declaration crashes DMD
           Product: D
           Version: 0.178
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: dvdfrdmn@users.sf.net


--------
void test(typeof(&test) p) { }
void main() { test(); }
--------

Note that the test case for issue 745, which does have the 'main', compiles without errors.

Another issue(?):  If 'main' is removed, the mangled name of 'test' contains a
'@'.  Is this valid?


-- 

December 27, 2006
d-bugmail@puremagic.com schrieb am 2006-12-26:
> http://d.puremagic.com/issues/show_bug.cgi?id=750

> --------
> void test(typeof(&test) p) { }
> void main() { test(); }
> --------
>
> Note that the test case for issue 745, which does have the 'main', compiles without errors.
>
> Another issue(?):  If 'main' is removed, the mangled name of 'test' contains a
> '@'.  Is this valid?

Added to DStress as http://dstress.kuehne.cn/run/t/typeof_11_C.d http://dstress.kuehne.cn/nocompile/t/typeof_11_D.d

Thomas


January 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=750


bugzilla@digitalmars.com changed:

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




------- Comment #2 from bugzilla@digitalmars.com  2007-01-03 22:12 -------
Fixed DMD 1.00


--