aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorEduardo Julian2017-09-19 20:47:09 -0400
committerEduardo Julian2017-09-19 20:47:09 -0400
commite717f33e192a5969760c033c47f9c4709485dd76 (patch)
tree08f5d3a3ed8e87dea96d6b724ec85b9b35dce665 /stdlib
parent53b8f08c90a9d903d5ebffb6f37acd7224a4736c (diff)
- Fixed a bug with the "try" macro (it was dependent on the "function" symbol not being re-defined in the module where it is being used).
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/source/lux/host.jvm.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/host.jvm.lux b/stdlib/source/lux/host.jvm.lux
index ea4171184..731e4e482 100644
--- a/stdlib/source/lux/host.jvm.lux
+++ b/stdlib/source/lux/host.jvm.lux
@@ -1453,7 +1453,7 @@
"If it fails, you get (#;Left error+stack-traces-as-text)."
(try (risky-computation input)))}
(with-gensyms [g!_]
- (wrap (list (`' (_lux_proc ["lux" "try"] [(function [(~ g!_)] (~ expr))]))))))
+ (wrap (list (`' (_lux_proc ["lux" "try"] [(;function [(~ g!_)] (~ expr))]))))))
(syntax: #export (instance? [#let [imports (class-imports *compiler*)]]
[class (generic-type^ imports (list))]