[perl #133246] Possible bug in Perl 6 OO

[email protected] ("Zoffix Znet via RT") Sat, 09 Jun 2018 05:34:20 -0700
Newsgroups perl.perl6.compiler
Message-ID <[email protected]>
On Sat, 09 Jun 2018 05:33:04 -0700, [email protected] wrote:
> when
> using implicit return:
> 
> 
> method var1() is rw { return    $!var }
> method var2()       { return-rw $!var }

Correction, that should be:

    method var1() is rw {           $!var }
    method var2()       { return-rw $!var }