# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #57122]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57122 >
While
$ ./perl6 -e 'multi sub f() {}'
works like it should,
$ ./perl6 -e 'multi f() {}'
Statement not terminated properly at line 1, near "{}"
current instr.: 'parrot;PGE::Util;die' pc 120
(runtime/parrot/library/PGE/Util.pir:82)
called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 23187
(src/gen_grammar.pir:2813)
called from Sub 'parrot;Perl6::Grammar;statementlist' pc 22200
(src/gen_grammar.pir:2450)
called from Sub 'parrot;Perl6::Grammar;statement_block' pc 20057
(src/gen_grammar.pir:1650)
called from Sub 'parrot;Perl6::Grammar;TOP' pc 16329 (src/gen_grammar.pir:224)
called from Sub 'parrot;PCT::HLLCompiler;parse' pc 585
(src/PCT/HLLCompiler.pir:371)
called from Sub 'parrot;PCT::HLLCompiler;compile' pc 438
(src/PCT/HLLCompiler.pir:303)
called from Sub 'parrot;PCT::HLLCompiler;eval' pc 776
(src/PCT/HLLCompiler.pir:473)
called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1305
(src/PCT/HLLCompiler.pir:708)
called from Sub 'parrot;Perl6::Compiler;main' pc 14518 (perl6.pir:172)
doesn't.