mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-05 14:33:14 +01:00
DMD Issue 5590 - Regression(2.036) ICE(e2ir.c): when using .values on enum which is associative array
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user