diff options
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/lua/case.jvm.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/translation/lua/case.jvm.lux b/new-luxc/source/luxc/lang/translation/lua/case.jvm.lux index 1853338b4..ed084b44d 100644 --- a/new-luxc/source/luxc/lang/translation/lua/case.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/lua/case.jvm.lux @@ -118,9 +118,9 @@ (^template [<pm> <flag>] (^code (<pm> (~ [_ (#.Nat idx)]))) (meta/wrap (lua.block! (list (lua.set! "temp" (runtimeT.sum//get cursor-top (lua.int (:! Int idx)) <flag>)) - (lua.if! (lua.not (lua.= lua.nil "temp")) - (push-cursor! "temp") - (lua.return! pm-error)))))) + (lua.if! (lua.= lua.nil "temp") + (lua.return! pm-error) + (push-cursor! "temp")))))) (["lux case variant left" lua.nil] ["lux case variant right" (lua.string "")]) |