Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created July 19, 2018 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasterDuke17/8a98a5a82aace4e2699545cb81d0c316 to your computer and use it in GitHub Desktop.
Save MasterDuke17/8a98a5a82aace4e2699545cb81d0c316 to your computer and use it in GitHub Desktop.
diff --git a/src/vm/jvm/Truffle.nqp b/src/vm/jvm/Truffle.nqp
index c23fa8f5b..5201441fe 100644
--- a/src/vm/jvm/Truffle.nqp
+++ b/src/vm/jvm/Truffle.nqp
@@ -706,11 +706,11 @@ class QAST::TruffleCompiler {
my $mini_setting := '
-sub print($arg) {
- nqp::print($arg);
+sub print(*@args) {
+ nqp::print(nqp::join("", @args));
}
-sub say($arg) {
- nqp::say($arg);
+sub say(*@args {
+ nqp::say(nqp::join("", @args));
}
sub plan($quantity) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment