aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-05-12 10:47:32 +0100
committergingerBill <bill@gingerbill.org>2018-05-12 10:47:32 +0100
commit20fbece14cc1da70964ef20bf8fdd7fc7261b509 (patch)
tree5a72b50ae4ff4eabf96930ce346d50326c131ca8 /src
parent9fbfd86cde08f307eccbaef7d565007f54a41bca (diff)
Change semantics for `distinct`ness for pointers, arrays, dynamic arrays, and maps.
Diffstat (limited to 'src')
-rw-r--r--src/check_decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp
index a2a7a1fb4..7dda04553 100644
--- a/src/check_decl.cpp
+++ b/src/check_decl.cpp
@@ -199,7 +199,7 @@ bool is_type_distinct(AstNode *node) {
case AstNode_ArrayType:
case AstNode_DynamicArrayType:
case AstNode_MapType:
- return true;
+ return false;
}
return false;
}