aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-02-23 15:45:06 +0000
committergingerBill <bill@gingerbill.org>2021-02-23 15:45:06 +0000
commit41b854f192a5a7d190a4b49496638254ed0dbb64 (patch)
tree59b7268722a78eaa1e67b18d7527df9912b147ca /src/check_type.cpp
parent28f279329da6f31b895145b9a021bacc7d9eea45 (diff)
Remove `#opaque` types
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index df8a54806..6377f4e6e 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -3352,13 +3352,6 @@ bool check_type_internal(CheckerContext *ctx, Ast *e, Type **type, Type *named_t
return true;
case_end;
- case_ast_node(ot, OpaqueType, e);
- Type *elem = strip_opaque_type(check_type_expr(ctx, ot->type, nullptr));
- *type = alloc_type_opaque(elem);
- set_base_type(named_type, *type);
- return true;
- case_end;
-
case_ast_node(at, ArrayType, e);
if (at->count != nullptr) {
Operand o = {};