You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last line shows "gv(IV \)". "IV \" is B::Concise's way of saying that
there's some kind of reference here, but it doesn't show what. This is
unfortunate.
The last line shows "gv(IV \)". "IV \" is B::Concise's way of saying
that
there's some kind of reference here, but it doesn't show what. This is
unfortunate.
The attached patch changes this to "gv(IV \&main::foo)" but I'm not familiar with this code. Comments?
The last line shows "gv(IV \)". "IV \" is B::Concise's way of saying
that
there's some kind of reference here, but it doesn't show what. This
is
unfortunate.
The attached patch changes this to "gv(IV \&main::foo)" but I'm not
familiar with this code. Comments?
$sv->GV here will call CvGV internally, which will vivify the GV if there isn’t one already.
It might be better to borrow some code from B::Deparse::gv_name. Maybe some of that code could be moved into B itself.
Heh. Your commit message ("... Fixes [perl #129892]") got wrapped with a newline before "#", which caused git to treat the rest of the line as a comment (so now it ends with "Fixes [perl").
Heh. Your commit message ("... Fixes [perl #129892]") got wrapped with
a newline before "#", which caused git to treat the rest of the line
as a comment (so now it ends with "Fixes [perl").
That is one of the most annoying misfeatures of git. I have gotten into the habit of always piping my commit messages to ‘git commit -F -’
Incidentally, since I use a Mac, I copy it to the clipboard and use ‘pbpaste|git commit...’.
On Tue, 14 Nov 2017 09:24:26 -0800, mauke- wrote:
Heh. Your commit message ("... Fixes [perl #129892]") got wrapped
with a newline before "#", which caused git to treat the rest of the
line as a comment (so now it ends with "Fixes [perl").
That is one of the most annoying misfeatures of git.
The first says to restrict clean-up in commit messages to removing
superfluous whitespace, but leaving lines starting with a hash alone.
If you use that, you probably want the second as well, which says to
start commit messages empty, rather than with a bunch of comments about
its current state. If the comments are useful to you, you can leave this
true, but then you have to make sure you delete the comment lines before
saving your message.
Activity
p5pRT commentedon Oct 16, 2016
From @mauke
Created by @mauke
$ perl -MO=Concise -e 'sub foo {} foo()'
6 <@> leave[1 ref] vKP/REFC ->(end)
1 <0> enter ->2
2 <;> nextstate(main 3 -e:1) v:{ ->3
5 <1> entersub vKS ->6
- <1> ex-list K ->5
3 <0> pushmark s ->4
- <1> ex-rv2cv sK/1 ->-
4 <$> gv(IV \) s ->5
-e syntax OK
The last line shows "gv(IV \)". "IV \" is B::Concise's way of saying that
there's some kind of reference here, but it doesn't show what. This is
unfortunate.
Perl Info
p5pRT commentedon Oct 16, 2016
From @mauke
On Sun Oct 16 07:28:46 2016, mauke- wrote:
The attached patch changes this to "gv(IV \&main::foo)" but I'm not familiar with this code. Comments?
p5pRT commentedon Oct 16, 2016
From @mauke
0001-B-Concise-display-CVs-as-pkgname-subname-perl-129892.patch
p5pRT commentedon Oct 16, 2016
From @cpansprout
On Sun Oct 16 07:33:53 2016, mauke- wrote:
$sv->GV here will call CvGV internally, which will vivify the GV if there isn’t one already.
It might be better to borrow some code from B::Deparse::gv_name. Maybe some of that code could be moved into B itself.
This is the part I am talking about:
my $cv = $gv->FLAGS & SVf_ROK ? $gv->RV : 0;
my $stash = ($cv || $gv)->STASH->NAME;
my $name = $raw
? $cv ? $cv->NAME_HEK || $cv->GV->NAME : $gv->NAME
: $cv
? B::safename($cv->NAME_HEK || $cv->GV->NAME)
: $gv->SAFENAME;
--
Father Chrysostomos
p5pRT commentedon Oct 16, 2016
The RT System itself - Status changed from 'new' to 'open'
p5pRT commentedon Nov 14, 2017
From zefram@fysh.org
Fixed in commit a1c09da.
-zefram
p5pRT commentedon Nov 14, 2017
From @mauke
On Mon, 13 Nov 2017 22:57:09 -0800, zefram@fysh.org wrote:
Heh. Your commit message ("... Fixes [perl #129892]") got wrapped with a newline before "#", which caused git to treat the rest of the line as a comment (so now it ends with "Fixes [perl").
p5pRT commentedon Nov 14, 2017
@mauke - Status changed from 'open' to 'pending release'
p5pRT commentedon Nov 14, 2017
From @cpansprout
On Tue, 14 Nov 2017 09:24:26 -0800, mauke- wrote:
That is one of the most annoying misfeatures of git. I have gotten into the habit of always piping my commit messages to ‘git commit -F -’
Incidentally, since I use a Mac, I copy it to the clipboard and use ‘pbpaste|git commit...’.
--
Father Chrysostomos
p5pRT commentedon Nov 14, 2017
From @Smylers
Father Chrysostomos via RT writes:
You can turn it off with:
$ git config --global commit.cleanup whitespace
$ git config --global commit.template false
The first says to restrict clean-up in commit messages to removing
superfluous whitespace, but leaving lines starting with a hash alone.
If you use that, you probably want the second as well, which says to
start commit messages empty, rather than with a bunch of comments about
its current state. If the comments are useful to you, you can leave this
true, but then you have to make sure you delete the comment lines before
saving your message.
Smylers
p5pRT commentedon Jun 23, 2018
From @khwilliamson
Thank you for filing this report. You have helped make Perl better.
With the release yesterday of Perl 5.28.0, this and 185 other issues have been
resolved.
Perl 5.28.0 may be downloaded via:
https://metacpan.org/release/XSAWYERX/perl-5.28.0
If you find that the problem persists, feel free to reopen this ticket.
p5pRT commentedon Jun 23, 2018
@khwilliamson - Status changed from 'pending release' to 'resolved'