From eacf9b27762fcd52eca352a0877d34f3e5d0f642 Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Thu, 23 Nov 2017 23:20:35 +0000 Subject: [PATCH] Need to first make it a Set before making it a Mix E.g. turning a Hash to a Mix assumes numeric values for the keys in the hash. We shouldn't do this. Spotted by Norman Gaywood++ on perl6-users. --- src/core/set_difference.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/set_difference.pm b/src/core/set_difference.pm index 3b5d66a0055..3cc2ef1bbb5 100644 --- a/src/core/set_difference.pm +++ b/src/core/set_difference.pm @@ -141,7 +141,7 @@ multi sub infix:<(-)>(**@p) { nqp::create(Rakudo::Internals::IterationSet) ), nqp::unless( # something else, Mix it! - $p.Mix.RAW-HASH, + $p.Set.Mix.RAW-HASH, nqp::create(Rakudo::Internals::IterationSet) ) )),