summaryrefslogtreecommitdiff
path: root/src/hir
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir')
-rw-r--r--src/hir/type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/type.cpp b/src/hir/type.cpp
index 6b90801f..45b47519 100644
--- a/src/hir/type.cpp
+++ b/src/hir/type.cpp
@@ -253,7 +253,7 @@ bool ::HIR::TypeRef::operator==(const ::HIR::TypeRef& x) const
if( te.m_arg_types[i] != xe.m_arg_types[i] )
return false;
}
- return te.m_rettype == xe.m_rettype;
+ return *te.m_rettype == *xe.m_rettype;
),
(Closure,
if( te.node != xe.node )