Skip to content

Commit

Permalink
We shouldn't let BUILDALL installation fail silently
Browse files Browse the repository at this point in the history
We want to be able to remove the actual BUILDALLPLAN from memory once
the method is installed.
  • Loading branch information
lizmat authored and zoffixznet committed Oct 7, 2017
1 parent fe89d35 commit e99fff7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Perl6/Metamodel/ClassHOW.nqp
Expand Up @@ -163,9 +163,7 @@ class Perl6::Metamodel::ClassHOW
$builder($compiler_services,$obj,$BUILDALLPLAN);
unless $method =:= NQPMu {
$method.set_name('BUILDALL');
my $result := try {
self.add_method($obj,'BUILDALL',$method);
}
self.add_method($obj,'BUILDALL',$method);
}
}
}
Expand Down

0 comments on commit e99fff7

Please sign in to comment.