Skip Menu |
Report information
Id: 130425
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: [PARSER] foo method form call tries to call `foo` routine if newline is present after ":"
Download (untitled) / with headers
text/plain 342b
$ ./perl6 -e $'class C { method foo { say 10 } }; foo\n' ===SORRY!=== Error while compiling -e Undeclared routine: foo used at line 1 $ ./perl6 -v This is Rakudo version 2016.12-122-gd35efb6 built on MoarVM version 2016.12-23-g3c5253c implementing Perl 6.c. This also appears to happen if written in a file or typed in the REPL

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at