Thread overview
[Issue 911] New: expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
Jan 31, 2007
d-bugmail
Apr 05, 2007
d-bugmail
Apr 20, 2007
d-bugmail
Jun 23, 2007
d-bugmail
Sep 19, 2007
d-bugmail
Mar 13, 2008
d-bugmail
Dec 03, 2008
d-bugmail
May 04, 2009
d-bugmail
May 04, 2009
d-bugmail
May 04, 2009
d-bugmail
January 31, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=911

           Summary: expression.c:4257: virtual Expression*
                    DotIdExp::semantic(Scope*): Assertion `0' failed.
           Product: D
           Version: 1.004
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: fvbommel@wxs.nl


-----
template Template(Ts...) {
    alias Ts tuple;
}

void main() {
    Template!(0).tuple;
}
-----
$ dmd ice.d
dmd: expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*):
Assertion `0' failed.
Aborted (core dumped)
-----


-- 

April 05, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=911





------- Comment #1 from thomas-dloop@kuehne.cn  2007-04-05 11:39 -------
Added to DStress as http://dstress.kuehne.cn/compile/b/bug_expression_4420_A.d http://dstress.kuehne.cn/compile/b/bug_expression_4420_B.d http://dstress.kuehne.cn/compile/b/bug_expression_4420_C.d


-- 

April 20, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=911


onlystupidspamhere@yahoo.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samukha@voliacable.com




------- Comment #2 from onlystupidspamhere@yahoo.se  2007-04-20 06:23 -------
*** Bug 1167 has been marked as a duplicate of this bug. ***


-- 

June 23, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=911


onlystupidspamhere@yahoo.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manuelk89@gmx.net




------- Comment #3 from onlystupidspamhere@yahoo.se  2007-06-23 15:10 -------
*** Bug 1241 has been marked as a duplicate of this bug. ***


-- 

September 19, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=911


shro8822@vandals.uidaho.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shro8822@vandals.uidaho.edu
           Severity|normal                      |critical




------- Comment #4 from shro8822@vandals.uidaho.edu  2007-09-19 16:44 -------
Can we get this fixed? It is forcing me to uses stuct templates for things and I think that is giving me piles and piles of static data that is preventing stuff from compiling.


Bumping Severity because it is blocking me in a big way.


-- 

March 13, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=911


spam@extrawurst.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spam@extrawurst.org
           Severity|critical                    |blocker




------- Comment #5 from spam@extrawurst.org  2008-03-12 20:05 -------
stumbled over that one too again ;(


-- 

December 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=911





------- Comment #6 from gide@nwawudu.com  2008-12-03 10:00 -------
I think this has been fixed, but DStress compile/b/bug_expression_4420_C.d case doesn't compile because typeof requires an expression not an empty argument. i.e. typeof() is not valid.


-- 

May 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=911





------- Comment #7 from clugdbug@yahoo.com.au  2009-05-04 05:29 -------
This all works for me on both DMD1.042 and 2.029 Windows.
Can someone who observed the original bug confirm that it is fixed?


-- 

May 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=911





------- Comment #8 from fvbommel@wxs.nl  2009-05-04 05:56 -------
This currently produces this (reasonable) error:
---
test.d(6): Error: tuple has no effect in expression (tuple(0))
---
for me with DMD 1.043, and using it to instantiate another template works fine. Good enough for me.


-- 

May 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=911


clugdbug@yahoo.com.au changed:

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




------- Comment #9 from clugdbug@yahoo.com.au  2009-05-04 06:58 -------
Fixed sometime before DMD1.042 and D2.029.


--