aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/parser/environment.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/parser/environment.lux')
-rw-r--r--stdlib/source/library/lux/control/parser/environment.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/library/lux/control/parser/environment.lux b/stdlib/source/library/lux/control/parser/environment.lux
index fe7c0ea59..b83ef9165 100644
--- a/stdlib/source/library/lux/control/parser/environment.lux
+++ b/stdlib/source/library/lux/control/parser/environment.lux
@@ -38,7 +38,7 @@
(function (_ environment)
(case (dictionary.get name environment)
(#.Some value)
- (exception.return [environment value])
+ (#try.Success [environment value])
#.None
(exception.except ..unknown_property [name]))))