From b55b1ffe14bc4a7459cd9b9bdb8b9b0c8f7f8091 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 11 Nov 2018 17:08:30 +0000 Subject: `opaque` keyword and type --- src/check_decl.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/check_decl.cpp') 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; } -- cgit v1.2.3