# New Ticket Created by Александр Кирюхин # Please include the string: [perl #130712] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=130712 >
> m: sub infix:<$>($x, $y) return Nil {} Cannot find method 'has_compile_time_value' on object of type NQPMu in any routine_declarator:sym<sub> at /home/sena/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm line 1 in any routine_declarator at /home/sena/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm line 1 in any term:sym<routine_declarator> at /home/sena/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm line 1 in any term at /home/sena/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm line 1 > m: sub infix:<$>($x, $y) returns Nil {} sub infix:<$> ($x, $y --> Nil) { #`(Sub+{Precedence}+{Callable[Nil]}|52646672) ... } It doesn't give you location where the error occurs, which is LTA. Error message with "Are you typed 'return' instead or 'returns'" suggestion would be much better. It occurs for postfix too and I suspect it it is true for every *fix-like operator signature. -- -- Alexander.