[Issue 1129] ICE, expression.c line 6246, accessing element of a tuple built from a nonexistent array element

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 28 02:03:59 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1129


deewiant at gmail.com changed:

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




------- Comment #2 from deewiant at gmail.com  2007-04-28 04:03 -------
Yes, I show that error message at the end of the post as well. My mistake that
I left the ""[$] in the example code: use [][$] instead of ""[$], and it
asserts as late as 1.013.

In 1.014, I get the following errors, so I'm marking this as FIXED:

asdf.d(5): Error: expression [][__dollar] is not a valid template value
argument
asdf.d(2): variable asdf.Foo!([][__dollar]).x voids have no value
asdf.d(5): template instance asdf.Foo!([][__dollar]) error instantiating

I'll file a separate Bug for the ""[$] issue.


-- 



More information about the Digitalmars-d-bugs mailing list