Carl Mäsak cmasak-at-gmail.com |Perl 6| wrote:
Pm (>):
In Rakudo's case, we just haven't implemented read-only traits
on variables yet.

Goodie. I guessed as much.

 But yes, I expect that it will be caught as
a compile-time error.

And do you agree it's reasonable to expect this of every compiler?

// Carl

I think that is the point of declared types. But, something like

  no strong_type_check :rw

in scope can turn that off, in case you want to play dirty tricks.

Reply via email to