Skip to content

Commit

Permalink
Clean up some trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 25, 2018
1 parent dfd6450 commit 5a974cb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Perl6/Metamodel/BUILDPLAN.nqp
Expand Up @@ -168,7 +168,7 @@ role Perl6::Metamodel::BUILDPLAN {
my @mro := self.mro($obj);
@!BUILDALLPLAN := +@mro > 1
?? @mro[1].HOW.BUILDALLPLAN(@mro[1])
!! @EMPTY
!! @EMPTY
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Perl6/Metamodel/RoleToRoleApplier.nqp
Expand Up @@ -228,7 +228,7 @@ my class RoleToRoleApplier {
$target.HOW.add_attribute($target, $add_attr);
}
}

# Any parents can also just be copied over.
if nqp::can($how, 'parents') {
my @parents := $how.parents($_, :local(1));
Expand Down
4 changes: 2 additions & 2 deletions src/Perl6/Optimizer.nqp
Expand Up @@ -2267,7 +2267,7 @@ class Perl6::Optimizer {
!! nqp::null();
if $count == 1 && nqp::isnull($phasers) && %range_bounds{$c2.name}($c2) -> @bounds {
$reverse := @bounds[2] if $c2.name eq '&infix:<...>';

my $it_var := QAST::Node.unique('range_it_');
my $last_var := QAST::Node.unique('range_last_');
my $callee_var := QAST::Node.unique('range_callee_');
Expand Down Expand Up @@ -2383,7 +2383,7 @@ class Perl6::Optimizer {
elsif $want[1] eq 'v' && nqp::istype($want[2], QAST::Op) {
# R#2040
# - QAST::Op(p6capturelex)
# - QAST::Op(callmethod clone)
# - QAST::Op(callmethod clone)
# - QAST::WVal(Sub...)
if $want[0].op eq 'p6capturelex' {
my $op := $want[0][0];
Expand Down
8 changes: 4 additions & 4 deletions src/core/Rakudo/Iterator.pm6
Expand Up @@ -3362,17 +3362,17 @@ class Rakudo::Iterator {
# initial.
my class SuccFromInf does Iterator {
has Mu $!i;

method !SET-SELF(Mu $!i) { self }
method new(\i) { nqp::create(self)!SET-SELF(i) }

method pull-one() {
my Mu $i = $!i;
$!i = $i.succ;
$i
}
}
method is-lazy(--> True) { }
}
}
method SuccFromInf(\i) { SuccFromInf.new(i) }

# Returns an iterator for a range of generic values that have a
Expand Down
2 changes: 1 addition & 1 deletion src/core/Setty.pm6
Expand Up @@ -183,7 +183,7 @@ my role Setty does QuantHash {
multi method pick(Setty:D: Whatever $) {
self.pick(Inf)
}

my class PickN does Rakudo::QuantHash::Pairs {
method pull-one() is raw {
nqp::if(
Expand Down
2 changes: 1 addition & 1 deletion src/core/Shaped1Array.pm6
Expand Up @@ -212,7 +212,7 @@
($!pos = $i) # mark as done
)
}
method count-only(--> Int:D) {
method count-only(--> Int:D) {
nqp::p6box_i(
nqp::elems($!reified)
- $!pos
Expand Down

0 comments on commit 5a974cb

Please sign in to comment.