mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-15 07:31:26 -07:00
Remove need for type keyword
This commit is contained in:
+5
-4
@@ -4766,11 +4766,12 @@ ExprKind check__expr_base(Checker *c, Operand *o, AstNode *node, Type *type_hint
|
||||
o->expr = node;
|
||||
case_end;
|
||||
|
||||
|
||||
case_ast_node(te, TagExpr, node);
|
||||
// TODO(bill): Tag expressions
|
||||
error_node(node, "Tag expressions are not supported yet");
|
||||
kind = check_expr_base(c, o, te->expr, type_hint);
|
||||
String name = te->name.string;
|
||||
error_node(node, "Unknown tag expression, #%.*s", LIT(name));
|
||||
if (te->expr) {
|
||||
kind = check_expr_base(c, o, te->expr, type_hint);
|
||||
}
|
||||
o->expr = node;
|
||||
case_end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user