From 1b5b9fa6cb53c60501382218e650b1b29c2e90ee Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 10 Aug 2024 21:48:28 +0800 Subject: [PATCH] ... --- src/compiler/compiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compiler.c b/src/compiler/compiler.c index 9544f212..d05480d6 100644 --- a/src/compiler/compiler.c +++ b/src/compiler/compiler.c @@ -334,7 +334,7 @@ void Literal0Expr__emit_(Expr* self_, Ctx* ctx) { case TK_TRUE: opcode = OP_LOAD_TRUE; break; case TK_FALSE: opcode = OP_LOAD_FALSE; break; case TK_DOTDOTDOT: opcode = OP_LOAD_ELLIPSIS; break; - default: assert(false); + default: c11__unreachedable(); } Ctx__emit_(ctx, opcode, BC_NOARG, self->line); }