in reply to [raku] what accessors are actually autogenerated for @.array attributes?

raku is a well behaved language in that concepts are kept "orthogonal" where possible. So from the docs there are three concepts in play:
  1. the sigil - @ (or $, %, &)- provides guidance on the content of your attribute container - in the case of @ it does role Positional
  2. the twigil - . or ! - provides guidance on the encapsulation, a "public attribute" with '.' has a getter accessor method automatically generated - with 'is rw' both getter and setter methods are provided
  3. the actual contents - in this case an Array - and each item in an Array is a scalar container that may be assigned a value
You are experiencing the implications of this design in a number of ways:
1 class Fish { 2 has @!scales; 3 4 multi method scales { @!scales } 5 multi method scales( @new ) { @!scales = @new } 6 method raku { "[ scales => {@!scales} ]" } 7 } 8 9 my $fish = Fish.new; 10 $fish.scales: ('green','blue','yellow'); 11 12 dd $fish;