[Issue 4826] "cannot create associative array" and compiler crash
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 7 13:48:14 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4826
--- Comment #5 from Don <clugdbug at yahoo.com.au> 2010-09-07 13:47:50 PDT ---
The segfault should be turned into an ICE by adding an extra assert into
TypeAArray::getImpl(), in mtype.c 3967.
+ assert(ti->inst || sc);
ti->semantic(sc);
ti->semantic2(sc);
ti->semantic3(sc);
The problem is, that the template instance needs a scope (sc), but the scope is
never set, so it remains NULL, causing a segfault when it is first used. I
don't know how to solve this. I'm not even sure of what the scope should be.
--
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