From 2d4892dca80af0f1f286dcf756a693d6f4a5dc85 Mon Sep 17 00:00:00 2001 From: q210520993 <210520993@qq.com> Date: Thu, 4 Apr 2024 15:49:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3When?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../internal/namespacing/prefix/lang/structure/Condition.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/skillw/asahi/internal/namespacing/prefix/lang/structure/Condition.kt b/src/main/kotlin/com/skillw/asahi/internal/namespacing/prefix/lang/structure/Condition.kt index 53a542c0..d0b39940 100644 --- a/src/main/kotlin/com/skillw/asahi/internal/namespacing/prefix/lang/structure/Condition.kt +++ b/src/main/kotlin/com/skillw/asahi/internal/namespacing/prefix/lang/structure/Condition.kt @@ -45,7 +45,7 @@ private fun `when`() = prefixParser { val condition = questCondition("->") { val symbol = next() val other = quest() - quester { com.skillw.asahi.util.check(value.get(), symbol, other) } + quester { com.skillw.asahi.util.check(value.get(), symbol, other.get()) } } expect("->") pairs.add(condition to quest())