From e717f33e192a5969760c033c47f9c4709485dd76 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 19 Sep 2017 20:47:09 -0400 Subject: - 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). --- stdlib/source/lux/host.jvm.lux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))] -- cgit v1.2.3