# New Ticket Created by Aaron Sherman
# Please include the string: [perl #129763]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=129763 >
Via IRC:
[13:51] <harmil_wk> a very slightly LTA error:
[13:51] <harmil_wk> m: sub test { return (state $x = 0 )++; POST { $_++ }
}; say test
[13:51] <+camelia> rakudo-moar 58cf9d: OUTPUT«Cannot resolve caller
postfix:<++>(Int); none of these signatures match: (Mu:D $a is rw)
(Mu:U $a is rw) (Int:D $a is rw) (int $a is rw) (Bool:U $a is
rw) (Bool:D $a is rw) (Num:D $a is rw) (Num:U $a is rw)…»
[13:52] <harmil_wk> It really would be nice if the error simply told me
that I was trying to modify a non-read-only rather than making me visually
parse the "is rw" on all of those.
[13:52] <harmil_wk> Should I rakudobug that?
[13:55] <masak> harmil_wk: sure, why not -- though I'm not sure the verdict
will be "we can haz nice error" on that :/
--
Aaron Sherman, M.:
P: 617-440-4332 Google Talk, Email and Google Plus: [email protected]
Toolsmith, developer, gamer and life-long student.