From 40f724234dffeee1152e1e5c3cd888bb16d5be4e Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Sat, 11 Oct 2008 22:44:17 +0200 Subject: [PATCH] Remove too strict type check for DotTypeExp. Fixes run/t/typedef_19_B. --- gen/toir.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/gen/toir.cpp b/gen/toir.cpp index d8386ed8..987073d9 100644 --- a/gen/toir.cpp +++ b/gen/toir.cpp @@ -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); }