Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename $main to $mainline to avoid confusion

  • Loading branch information...
commit b7d0122e8cb48cc33dfe747452853f692cec94f1 1 parent 679cac2
@gerdr gerdr authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/NQP/World.pm
View
4 src/NQP/World.pm
@@ -241,7 +241,7 @@ class NQP::World is HLL::World {
my $post := $nqpcomp.post(QAST::CompUnit.new( :hll('nqp'), $past ));
my $pir := $nqpcomp.pir($post);
my $pbc := $nqpcomp.pbc($pir);
- my $main := $nqpcomp.init($pbc);
+ my $mainline := $nqpcomp.init($pbc);
# Fix up any code objects holding stubs with the real compiled thing.
my @all_subs := $pbc.all_subs();
@@ -270,7 +270,7 @@ class NQP::World is HLL::World {
$i := $i + 1;
}
- $main(|@args, |%named);
+ $mainline(|@args, |%named);
};
# Create code object, if we'll need one.
Please sign in to comment.
Something went wrong with that request. Please try again.