[Issue 9791] [ICE] (struct.c line 668) map with a missing tuple import

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 23 04:22:26 PDT 2013


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



--- Comment #3 from bearophile_hugs at eml.cc 2013-04-23 04:22:24 PDT ---
After this change:

https://github.com/D-Programming-Language/dmd/commit/dec31f42148fe14a24250592ee21e376ac1d8a88


Now the code shown above gives no ICE:

test.d(4): Error: undefined identifier tuple
...\dmd2\src\phobos\std\algorithm.d(404): Error: template instance
test.main.__lambda2!(int) error instantiating
...\dmd2\src\phobos\std\algorithm.d(390):        instantiated from here:
MapResult!(__lambda2, Result)
test.d(4):        instantiated from here: map!(Result)
...\dmd2\src\phobos\std\algorithm.d(390): Error: template instance
test.main.MapResult!(__lambda2, Result) error instantiating
test.d(4):        instantiated from here: map!(Result)
test.d(4): Error: template instance test.main.map!(__lambda2).map!(Result)
error instantiating

So do you want me to close down this issue?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list