mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Fix IR bug for TypeSpec
This commit is contained in:
@@ -5871,7 +5871,7 @@ void ir_build_stmt_internal(irProcedure *proc, AstNode *node) {
|
||||
} break;
|
||||
|
||||
case Token_type: {
|
||||
ast_node(td, TypeSpec, node);
|
||||
ast_node(td, TypeSpec, spec);
|
||||
|
||||
AstNode *ident = td->name;
|
||||
GB_ASSERT(ident->kind == AstNode_Ident);
|
||||
|
||||
Reference in New Issue
Block a user