Thread overview
[Issue 135] typeof(x)() doesn't compile
Jul 01, 2006
d-bugmail
Jul 02, 2008
d-bugmail
Sep 08, 2008
d-bugmail
Sep 09, 2008
d-bugmail
July 01, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=135


bugzilla@digitalmars.com changed:

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




------- Comment #3 from bugzilla@digitalmars.com  2006-06-30 20:23 -------
Fixed DMD 0.162


-- 

July 02, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=135


davidl@126.com changed:

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




------- Comment #4 from davidl@126.com  2008-07-02 10:49 -------
http://dstress.kuehne.cn/run/o/opCall_02_C.d still not passes the test?


-- 

September 08, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=135


gide@nwawudu.com changed:

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




------- Comment #5 from gide@nwawudu.com  2008-09-08 07:43 -------
opCall_02_C.d has a bug, there is a extra bracket around typeof(x) which makes the expression into a c-style cast.

if((typeof(x))() != 3){ // incorrect
if(typeof(x)() != 3){ // correct


-- 

September 09, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=135





------- Comment #6 from kamm-removethis@incasoftware.de  2008-09-09 09:43 -------
opCall_02_C is fixed in dsource-dstress rev 1596


--