Skip to content
Browse files

PAST::Compiler.chain - fix typo

Need to use .new on a class in order to create a new object.
  • Loading branch information...
1 parent 2632666 commit 82a740db078d0e24b1c4edab1995ac1dc939ef2c @Benabik Benabik committed
Showing with 268 additions and 268 deletions.
  1. +267 −267 compilers/pct/src/PAST/Compiler.pir
  2. +1 −1 compilers/pct/src/PAST/Compiler.pm
View
534 compilers/pct/src/PAST/Compiler.pir
267 additions, 267 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 compilers/pct/src/PAST/Compiler.pm
@@ -1488,7 +1488,7 @@ multi method chain(PAST::Op $node, *%options) {
my $ops := POST::Ops.new(:node($node));
$ops.result(self.unique('$P'));
- my $endlabel := POST::Label(:name('chain_end_'));
+ my $endlabel := POST::Label.new(:name('chain_end_'));
$cpast := pir::pop(@clist);
my $apost := self.as_post($cpast[0], :rtype('P'));

0 comments on commit 82a740d

Please sign in to comment.
Something went wrong with that request. Please try again.