Skip Menu |
Report information
Id: 126836
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: lloyd.fourn [at] gmail.com
Cc:
AdminCc:

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



Subject: [BUG] space in sub:name () {} needed if colon in name and has sig
To: "rakudobug [...] perl.org" <rakudobug [...] perl.org>
Date: Mon, 07 Dec 2015 14:18:06 +0000
From: Lloyd Fournier <lloyd.fourn [...] gmail.com>
sub foo() {} #fine
sub foo:bar {} #fine
sub foo:bar() {} #LTA error
sub foo:bar () {} # fine
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 338b
On Mon Dec 07 06:18:52 2015, lloyd.fourn@gmail.com wrote: Show quoted text
> sub foo() {} #fine > sub foo:bar {} #fine > sub foo:bar() {} #LTA error > sub foo:bar () {} # fine
To be clear, here is the LTA error: Show quoted text
> sub foo:bar() {}
===SORRY!=== Error while compiling <unknown file> Null operator is not allowed at <unknown file>:1 -- Will "Coke" Coleda


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

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