From 3d452e01ac95d5cc8cb834917cea30b7df606fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=E7=89=B9=E6=AF=8F=E7=BE=8A=E9=98=9F?= Date: Sat, 6 Jun 2026 21:54:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=89=E7=9B=AE?= =?UTF-8?q?=E8=BF=90=E7=AE=97=E7=AC=A6=E7=9F=AD=E8=B7=AF=E4=B8=8D=E5=8F=AF?= =?UTF-8?q?=E8=BE=BE=E5=88=A4=E5=AE=9A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxide_compiler/src/counter.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/oxide_compiler/src/counter.rs b/crates/oxide_compiler/src/counter.rs index f8ddc56..54089a1 100644 --- a/crates/oxide_compiler/src/counter.rs +++ b/crates/oxide_compiler/src/counter.rs @@ -273,9 +273,7 @@ impl Compiler { let skip_label = match log.operator { LogicalOperator::And => Label::TernaryEnd(id), LogicalOperator::Or => Label::TernaryElse(id), - LogicalOperator::Coalesce => { - unreachable!() - } + LogicalOperator::Coalesce => Label::TernaryEnd(id), }; ctx.label_map.insert(skip_label, ctx.projected_pc); }