DMD Issue 5590 - Regression(2.036) ICE(e2ir.c): when using .values on enum which is associative array

This commit is contained in:
Alexey Prokhin
2012-04-21 18:39:46 +04:00
parent d739588d4a
commit 07bf68afa3
2 changed files with 43 additions and 18 deletions

View File

@@ -541,6 +541,11 @@ void TypeInfoAssociativeArrayDeclaration::llvmDefine()
// key typeinfo
b.push_typeinfo(tc->index);
#if DMDV2
// impl typeinfo
b.push_typeinfo(tc->getImpl()->type);
#endif
// finish
b.finalize(ir.irGlobal);
}