aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-11-11 17:08:30 +0000
committergingerBill <bill@gingerbill.org>2018-11-11 17:08:30 +0000
commitb55b1ffe14bc4a7459cd9b9bdb8b9b0c8f7f8091 (patch)
tree77df172a7e387801f9f43999dcc412a6fb5b71be /src/check_decl.cpp
parent620d5d34f7c5712be27a92e1ab6ab48119f0a4c6 (diff)
`opaque` keyword and type
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;
}