aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/host.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/host.lux')
-rw-r--r--stdlib/source/lux/host.lux3
1 files changed, 1 insertions, 2 deletions
diff --git a/stdlib/source/lux/host.lux b/stdlib/source/lux/host.lux
index 22bd0f292..69148bbd2 100644
--- a/stdlib/source/lux/host.lux
+++ b/stdlib/source/lux/host.lux
@@ -366,7 +366,6 @@
(lambda [idx]
(_lux_proc ["jvm" "invokevirtual:java.lang.Object:toString:"]
[(_lux_proc ["jvm" "aaload"] [trace idx])]))))
- reverse
(text;join-with "\n")
)))
@@ -374,7 +373,7 @@
(-> (host java.lang.Throwable) StackTrace)
(_lux_proc ["jvm" "invokevirtual:java.lang.Throwable:getStackTrace:"] [t]))
-(def: #export (throwable->text t)
+(def: #hidden (throwable->text t)
(All [a] (-> (host java.lang.Throwable) (Either Text a)))
(#;Left (format (_lux_proc ["jvm" "invokevirtual:java.lang.Object:toString:"] [t])
"\n"