mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 18:32:12 +00:00
Remove AstTypeType
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user