blueloveTH 1 tahun lalu
induk
melakukan
1b5b9fa6cb
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/compiler/compiler.c

+ 1 - 1
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_TRUE: opcode = OP_LOAD_TRUE; break;
         case TK_FALSE: opcode = OP_LOAD_FALSE; break;
         case TK_FALSE: opcode = OP_LOAD_FALSE; break;
         case TK_DOTDOTDOT: opcode = OP_LOAD_ELLIPSIS; break;
         case TK_DOTDOTDOT: opcode = OP_LOAD_ELLIPSIS; break;
-        default: assert(false);
+        default: c11__unreachedable();
     }
     }
     Ctx__emit_(ctx, opcode, BC_NOARG, self->line);
     Ctx__emit_(ctx, opcode, BC_NOARG, self->line);
 }
 }