aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorEduardo Julian2015-09-27 22:20:31 -0400
committerEduardo Julian2015-09-27 22:20:31 -0400
commit39a00124a102e5479271c2dbd6791979a34e1e2e (patch)
tree7d9dace1b56c5d6390edc246305a7067930e8e03 /source
parentf829e62d2102a60244b9f0950240dc71f74cccff (diff)
- Added generics support for object field access (getting & setting).
- Added generics support for object method invocation.
Diffstat (limited to '')
-rw-r--r--source/lux/host/jvm.lux1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lux/host/jvm.lux b/source/lux/host/jvm.lux
index 57d0e9c5d..cb818eb2b 100644
--- a/source/lux/host/jvm.lux
+++ b/source/lux/host/jvm.lux
@@ -256,6 +256,7 @@
(_jvm_invokevirtual "java.lang.Throwable" "getStackTrace" [] t []))
(def #export (throwable->text t)
+ (-> (^ java.lang.Throwable) Text)
($ text:++
(_jvm_invokevirtual "java.lang.Object" "toString" [] t [])
"\n"