mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 19:33:13 +01:00
Remove too strict type check for DotTypeExp. Fixes run/t/typedef_19_B.
This commit is contained in:
@@ -2443,7 +2443,6 @@ DValue* DotTypeExp::toElem(IRState* p)
|
||||
{
|
||||
Type* t = sym->getType();
|
||||
assert(t);
|
||||
assert(t == e1->type && t == type);
|
||||
return e1->toElem(p);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user