aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/parser/lux/world/environment.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/parser/lux/world/environment.lux')
-rw-r--r--stdlib/source/parser/lux/world/environment.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/parser/lux/world/environment.lux b/stdlib/source/parser/lux/world/environment.lux
index 311048fdf..10230d5a1 100644
--- a/stdlib/source/parser/lux/world/environment.lux
+++ b/stdlib/source/parser/lux/world/environment.lux
@@ -32,7 +32,7 @@
(def .public (property name)
(-> Property (Parser Text))
(function (_ environment)
- (case (dictionary.value name environment)
+ (when (dictionary.value name environment)
{.#Some value}
{try.#Success [environment value]}