# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #132133]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132133 >


IRC finding: https://irclog.perlgeek.de/perl6/2017-09-19#i_15189180

If you use `is rw` on @ or % sigiled params, you get an error saying it's not 
needed:

    <Zoffix__> m: -> @a is rw {}
    <camelia> rakudo-moar b66f5e: OUTPUT: «===SORRY!=== Error while compiling 
<tmp>␤For parameter '@a', '@' sigil containers don't need 'is rw' to be 
writable␤Can only use 'is rw' on a scalar ('$' sigil) parameter, not '@a'␤at 
<tmp>:1␤»
    <Zoffix__> m: -> %a is rw {}
    <camelia> rakudo-moar b66f5e: OUTPUT: «===SORRY!=== Error while compiling 
<tmp>␤For parameter '%a', '%' sigil containers don't need 'is rw' to be 
writable␤Can only use 'is rw' on a scalar ('$' sigil) parameter, not '%a'␤at 
<tmp>:1␤»

But the same error doesn't appear when applying `is rw` on nameless params:

    <Zoffix__> m: -> @ is rw {}
    <camelia> rakudo-moar b66f5e: ( no output )
    <Zoffix__> m: -> % is rw {}
    <camelia> rakudo-moar b66f5e: ( no output )

Reply via email to