diff --git a/src/Perl6/World.nqp b/src/Perl6/World.nqp index 9e19ccc812d..db688f87456 100644 --- a/src/Perl6/World.nqp +++ b/src/Perl6/World.nqp @@ -1110,7 +1110,9 @@ class Perl6::World is HLL::World { method arglist($/) { my $arglist; if $ -> $expr { - $arglist := self.compile_time_evaluate($/,$expr.ast).List.FLATTENABLE_LIST; + if self.compile_time_evaluate($/,$expr.ast) -> $result { + $arglist := $result.List.FLATTENABLE_LIST; + } } $arglist; }