From 92928d5c4fd0182b525e544f80013c8b3022fb31 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Tue, 16 Feb 2021 17:00:27 -0600 Subject: [PATCH] Update definition of `or`. --- src/boot/boot.janet | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/boot/boot.janet b/src/boot/boot.janet index d12a18d8..931eaabc 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -277,8 +277,7 @@ [& forms] (def len (length forms)) (var i (- len 1)) - (var ret (if (= 0 len) nil - (in forms i))) + (var ret (get forms i)) (while (> i 0) (-- i) (def fi (in forms i))