Skip to content
Browse files

Hacky fix for R#2640

After spending most of the day yak shaving for this, decided to just
hack a solution for the release to get the pressure off.  I have a patch
that will fix the re-composing of classes with meta methods in them, but
that also unfortunately disables this hack.

As was observed, a class with a ^parameterize in them will smartmatch
correctly after having done a .^compose on them.  This commit will do that
at the end of compiling the setting for the classes in the setting that
have a ^parameterize method.  This will **not** fix any classes out there
that also have a ^parameterize method.
  • Loading branch information...
lizmat committed Jan 25, 2019
1 parent 9517c37 commit 71a19c61a2c3c3582474a84644e33e76c0e66005
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/core_epilogue.pm6
@@ -31,6 +31,9 @@ BEGIN {

# temporary fix for R#2640
BEGIN .^compose for Array,array,Bag,BagHash,Hash,Mix,MixHash,Set,SetHash;


# vim: ft=perl6 expandtab sw=4

0 comments on commit 71a19c6

Please sign in to comment.
You can’t perform that action at this time.