summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hir/type.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hir/type.cpp b/src/hir/type.cpp
index c4dfb9c3..57e57c16 100644
--- a/src/hir/type.cpp
+++ b/src/hir/type.cpp
@@ -219,8 +219,11 @@ bool ::HIR::TypeRef::operator==(const ::HIR::TypeRef& x) const
return false;
if( xe.size_val != te.size_val )
return false;
- if( te.size_val == ~0u )
+ if( te.size_val == ~0u ) {
+ // LAZY - Assume equal
+ return true;
assert(!"TODO: Compre array types with non-resolved sizes");
+ }
return true;
),
(Slice,