From 360eb2289f95442fda874f4cc3e18e32152ad9a5 Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Sat, 4 Nov 2017 22:18:46 +0100 Subject: [PATCH] Oops, we want the default exports available as well - so not only slice through EXPORT::COLUMNS, but also EXPORT::DEFAULT --- lib/Telemetry.pm6 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Telemetry.pm6 b/lib/Telemetry.pm6 index 59aa5c6e611..4c8df54aa01 100644 --- a/lib/Telemetry.pm6 +++ b/lib/Telemetry.pm6 @@ -849,7 +849,10 @@ sub T () is export { Telemetry.new } # Provide limited export capability -------------------------------------------- sub EXPORT(*@args) { - (EXPORT::COLUMNS::{ @args.map: "&" ~ * }:p).Map + ( + |(EXPORT::COLUMNS::{ @args.map: '&' ~ * }:p), + |(EXPORT::DEFAULT::{ @args.map: '&' ~ * }:p), + ).Map } # Make sure we tell the world if we're implicitely told to do so ---------------