New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Str.trans grabs callers $/ for unknown reason #6615
Comments
From @zoffixznetIRC: https://irclog.perlgeek.de/perl6-dev/2017-10-14#i_15302654 1) Spotted that Str.trans grabs caller's 2) Why does Str.trans grabs caller's $/ in the first place? The commit that added So I tried removing all of the $/ business from Str.trans, but that caused 2 tests <Zoffix__> m: say '"foo & bar"'.trans(/(' '+)/ => {' ' ~ (' ' x ($0.chars - 1))}, /(\W)/ => {"&#{ord( As can be seen from the eval above, while the However, if there *is* some reason for why Str.trans proto (and routine) grab caller's $/, the same thing needs to be added [1] rakudo/rakudo@ec79843 |
From @geekosaurOn Sat, Oct 14, 2017 at 1:15 PM, Zoffix Znet <perl6-bugs-followup@perl.org>
Are you sure this isn't just a copypasto? -- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#132302 (status was 'open')
Searchable as RT132302$
The text was updated successfully, but these errors were encountered: