From f5873e2e84d7e0273b03ca50c2f9b1e204f121ae Mon Sep 17 00:00:00 2001 From: kalsprite Date: Mon, 24 Aug 2026 00:40:00 -0700 Subject: [PATCH] remove dead inline asm check, now unreachable --- src/check_decl.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 35f0da9ba..cdb1b9b54 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -83,11 +83,7 @@ gb_internal Type *check_init_variable(CheckerContext *ctx, Entity *e, Operand *o } t = default_type(t); } - if (is_type_asm_proc(t)) { - error(e->token, "Invalid use of inline asm in %.*s", LIT(context_name)); - e->type = t_invalid; - return nullptr; - } else if (is_type_polymorphic(t)) { + if (is_type_polymorphic(t)) { Entity *e2 = entity_of_node(operand->expr); if (e2 == nullptr) { e->type = t_invalid;