aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-10-13 14:07:00 +0100
committergingerBill <bill@gingerbill.org>2018-10-13 14:07:00 +0100
commitef2931d4a5f6e5a68ed339dcaf49840e1bcb8863 (patch)
tree275586c077d507eca5dd1db76458c6a43b4bfc35 /src/check_expr.cpp
parent2d4aa2be6d6f8f335c4239b9c2867729135e373f (diff)
Remove AstTypeType
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 78f200a21..2e1663f98 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -6130,7 +6130,6 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
case_end;
case Ast_TypeidType:
- case Ast_TypeType:
case Ast_PolyType:
case Ast_ProcType:
case Ast_PointerType:
@@ -6573,14 +6572,6 @@ gbString write_expr_to_string(gbString str, Ast *node) {
str = gb_string_appendc(str, ")");
case_end;
- case_ast_node(tt, TypeType, node);
- str = gb_string_appendc(str, "type");
- if (tt->specialization) {
- str = gb_string_appendc(str, "/");
- str = write_expr_to_string(str, tt->specialization);
- }
- case_end;
-
case_ast_node(tt, TypeidType, node);
str = gb_string_appendc(str, "typeid");
if (tt->specialization) {