Skip to content

Commit

Permalink
Tentatively unbreak parrot / jvm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Dec 16, 2014
1 parent 19f661f commit 1785eaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Perl6/Metamodel/ClassHOW.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ class Perl6::Metamodel::ClassHOW
}

# If there's a FALLBACK method, register something to forward calls to it.
if self.find_method($obj, 'FALLBACK', :no_fallback) -> $FALLBACK {
my $FALLBACK := self.find_method($obj, 'FALLBACK', :no_fallback);
if !nqp::isnull($FALLBACK) && nqp::defined($FALLBACK) {
self.add_fallback($obj,
sub ($obj, str $name) {
$name ne 'sink' && $name ne 'invoke' && $name ne 'postcircumfix:<( )>'
Expand Down

0 comments on commit 1785eaf

Please sign in to comment.