aboutsummaryrefslogtreecommitdiff
path: root/source/lux/data/io.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-08-30 20:07:37 -0400
committerEduardo Julian2015-08-30 20:07:37 -0400
commita0533814cbc3b4b59850f97e9e72abc8bb83ff57 (patch)
tree5253a297c7b28c5881ba3845881115772e981cf1 /source/lux/data/io.lux
parent817d244adff361104ae0aa6ce53efe6c2bc07552 (diff)
- Added call/cc to lux/codata/lazy.
- Added some minor compiler optimizations.
Diffstat (limited to '')
-rw-r--r--source/lux/data/io.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lux/data/io.lux b/source/lux/data/io.lux
index 2d2a2bc35..1ca68f518 100644
--- a/source/lux/data/io.lux
+++ b/source/lux/data/io.lux
@@ -42,10 +42,10 @@
## [Functions]
(def #export (print x)
(-> Text (IO (,)))
- (io (_jvm_invokevirtual "java.io.PrintStream" "print" ["java.lang.Object"]
+ (io (_jvm_invokevirtual "java.io.PrintStream" "print" ["java.lang.String"]
(_jvm_getstatic "java.lang.System" "out") [x])))
(def #export (println x)
(-> Text (IO (,)))
- (io (_jvm_invokevirtual "java.io.PrintStream" "println" ["java.lang.Object"]
+ (io (_jvm_invokevirtual "java.io.PrintStream" "println" ["java.lang.String"]
(_jvm_getstatic "java.lang.System" "out") [x])))