Skip to content
Permalink
Browse files

[JVM] Remove special case

This looks like a leftover from much earlier times.
  • Loading branch information...
usev6 committed Apr 6, 2019
1 parent c99ae9b commit 5e8451f79d7e2271508d7c49bd2969782bd36552
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/Match.pm6
@@ -60,9 +60,7 @@ my class Match is Capture is Cool does NQPMatchRole {
# Walk the capture stack and populate the Match.
my Mu $cs := nqp::getattr(self, Match, '$!cstack');
if nqp::isnull($cs) || nqp::not_i(nqp::istrue($cs)) {}
#?if !jvm
elsif nqp::not_i(nqp::istrue($caplist)) {}
#?endif
elsif nqp::iseq_i($namecount, 1) && nqp::isgt_i(nqp::chars($onlyname), 0) && nqp::eqat($onlyname, '$!', 0) {
# If there's only one destination, avoid repeated hash lookups
my int $cselems = nqp::elems($cs);

0 comments on commit 5e8451f

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