blueloveTH 1 год назад
Родитель
Сommit
1b5b9fa6cb
1 измененных файлов с 1 добавлено и 1 удалено
  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_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);
 }