# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #125227] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125227 >
<FROGGS> hmmm.... <FROGGS> Compiling lib/Facter.pm to mbc <FROGGS> useless use of 'is rw' on @!search_path in any at src/Perl6/World.nqp:2498 <moritz> rw on a private attribute looks questionable <moritz> so does the line number :-) <FROGGS> error reporting bug me thinks <FROGGS> it should report this line instead: https://github.com/cosimo/perl6-facter/blob/master/lib/Facter.pm#L47 <masak> m: class T { has $!foo is rw } <camelia> rakudo-moar 7adde5: OUTPUT«useless use of 'is rw' on $!foo in any at src/Perl6/World.nqp:2498» * masak submits rakudobug To be clear, the problem is that the error message reports a file-and-line inside of the Rakudo compiler, instead of (as would be much more helpful) in the code with the useless use of 'is rw'.