[Issue 3692] Compiler with associative arrays when std.variant is imported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 5 04:18:37 PST 2010


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


Leandro Motta Barros <lmb at stackedboxes.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|2.038                       |2.040
         Resolution|DUPLICATE                   |


--- Comment #2 from Leandro Motta Barros <lmb at stackedboxes.org> 2010-02-05 04:18:36 PST ---
This bug has been marked as duplicate of issue 3552, so it should supposedly be
fixed in DMD 2.040. Unfortunately, it was not. Using DMD 2.040 to compile the
same code as before:

import std.variant;

void main()
{
   bool[int] a;
   auto x = a.keys[0];
}

I get the same compiler crash as before:

dmd: mtype.c:3886: StructDeclaration* TypeAArray::getImpl(): Assertion `impl'
failed.

So, unless I'm doing something very wrong here, I suppose this bug still
persists.

-- 
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