Skip to content

Commit

Permalink
Avoid NullPointerException on JVM
Browse files Browse the repository at this point in the history
in S06-signature/introspection.t
  • Loading branch information
usev6 committed Jun 28, 2015
1 parent 367b581 commit fc6db98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Signature.pm
Expand Up @@ -116,7 +116,7 @@ my class Signature { # declared in BOOTSTRAP
}

method !deftype(Signature:D:) {
$!code ~~ Routine ?? Any !! Mu
!nqp::isnull($!code) && $!code ~~ Routine ?? Any !! Mu
}

multi method perl(Signature:D:) {
Expand Down

0 comments on commit fc6db98

Please sign in to comment.