aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_decl.cpp')
-rw-r--r--src/check_decl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp
index de0aa572d..3fb53bb19 100644
--- a/src/check_decl.cpp
+++ b/src/check_decl.cpp
@@ -198,6 +198,9 @@ bool is_type_distinct(Ast *node) {
case Ast_DynamicArrayType:
case Ast_MapType:
return false;
+
+ case Ast_OpaqueType:
+ return true;
}
return false;
}