Skip to content

Commit

Permalink
Fix for #5077, as suggested by bartolin++
Browse files Browse the repository at this point in the history
Made explicit for JVM backend, so that it is clear *why* that extra
work is being done.
  • Loading branch information
lizmat committed Oct 10, 2022
1 parent 82d4c17 commit ce1af0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Perl6/bootstrap.c/BOOTSTRAP.nqp
Expand Up @@ -4052,7 +4052,12 @@ nqp::sethllconfig('Raku', nqp::hash(
my $valid :=
!nqp::isnull($resultish)
&& nqp::isconcrete($resultish)
#?if jvm
&& nqp::hllizefor(nqp::decont($resultish),'Raku').defined;
#?endif
#?if !jvm
&& $resultish.defined;
#?endif

for @leaves -> $phaser {
CATCH { nqp::push(@exceptions, $_) }
Expand Down

0 comments on commit ce1af0f

Please sign in to comment.