-
Notifications
You must be signed in to change notification settings - Fork 571
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
$a.="$b" doesn't stringify $b #16398
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgAnother multiconcat bug: $ perl5.27.5 -lwe 'package Lhs { use overload ".=" => sub { warn ref(\$_[1]); "foo"; }; } package Rhs { use overload "\"\"" => sub { warn "stringified"; "bar" }; } my $a = bless({}, "Lhs"); my $b = bless({}, "Rhs"); $a .= "$b"' Passing the rhs reference through to the lhs overload method would be Found this while testing around [perl #132783]. Perl Info
|
From @iabynOn Wed, Jan 31, 2018 at 05:17:18AM -0800, Zefram wrote:
Now fixed with the following commit. Note that it merely restores the commit 55b62de pp_multiconcat: correctly honour stringify -- |
The RT System itself - Status changed from 'new' to 'open' |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#132793 (status was 'resolved')
Searchable as RT132793$
The text was updated successfully, but these errors were encountered: