[Issue 17988] [ICE] Segfault when using member in map

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 18 15:55:33 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17988

bitter.taste at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bitter.taste at gmx.com
         Resolution|---                         |FIXED

--- Comment #1 from bitter.taste at gmx.com ---
Works in master w/ the following output:

---
/tmp/foo.d(5): Error: only one index allowed to index int
./generated/linux/release/64/../../../../../phobos/std/algorithm/iteration.d(497):
       instantiated from here: MapResult!(__lambda2, int[])
/tmp/foo.d(5):        instantiated from here: map!(int[])
./generated/linux/release/64/../../../../../phobos/std/algorithm/iteration.d(602):
       instantiated from here: __lambda2!(int[])
./generated/linux/release/64/../../../../../phobos/std/algorithm/iteration.d(497):
       instantiated from here: MapResult!(__lambda2, int[][])
/tmp/foo.d(5):        instantiated from here: map!(int[][])
---

--


More information about the Digitalmars-d-bugs mailing list