mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-18 10:09:46 +00:00
Use global arena for AstNode allocations
This commit is contained in:
@@ -352,10 +352,6 @@ void check_const_decl(CheckerContext *ctx, Entity *e, AstNode *type_expr, AstNod
|
||||
}
|
||||
}
|
||||
|
||||
if (init != nullptr) {
|
||||
check_expr_or_type(ctx, &operand, init, e->type);
|
||||
}
|
||||
|
||||
check_init_constant(ctx, e, &operand);
|
||||
|
||||
if (operand.mode == Addressing_Invalid ||
|
||||
|
||||
Reference in New Issue
Block a user