From bf6f15746194566412a6faf8e4765fee4c9f6879 Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Mon, 24 Nov 2014 21:09:54 +0100 Subject: [PATCH] Fix error reporting inside the setting without thsi patch, at least r-m always printed the last key for all elements --- src/Perl6/World.nqp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Perl6/World.nqp b/src/Perl6/World.nqp index 327fc4ef109..561cc1b91ae 100644 --- a/src/Perl6/World.nqp +++ b/src/Perl6/World.nqp @@ -2861,7 +2861,7 @@ class Perl6::World is HLL::World { my @err := ['Error while compiling, type ', join('::', $ex_type), "\n"]; for %opts -> $key { @err.push: ' '; - @err.push: $key; + @err.push: ~$key; @err.push: ': '; @err.push: safely_stringify(%opts{$key}); @err.push: "\n";