Skip to content
Permalink
Browse files

Make make an only

Not sure why it should be a multi.  Having it have to do a getlexcaller
sure doesn't help.  This appears to have a marginal improvement on
R:I:J.from-json
  • Loading branch information...
lizmat committed Sep 21, 2018
1 parent c14df18 commit 369068aed04c95b8d91ee34be2403da31430b2a3
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/Match.pm6
@@ -927,8 +927,7 @@ multi sub infix:<eqv>(Match:D \a, Match:D \b) {
}
proto sub make(Mu, *%) { $/ := nqp::getlexcaller('$/'); {*} }
multi sub make(Mu \made) {
sub make(Mu \made) {
nqp::bindattr(nqp::decont(nqp::getlexcaller('$/')),Match,'$!made',made)
}

0 comments on commit 369068a

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