develooper Front page | perl.perl5.porters | Postings from November 2014

[perl #123092] Sub inlining inconsistencies

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
November 5, 2014 13:15
Subject:
[perl #123092] Sub inlining inconsistencies
Message ID:
rt-4.0.18-8398-1415193324-1954.123092-15-0@perl.org
On Sun Nov 02 23:11:05 2014, demerphq wrote:
> And if you do that then you might as well also make a ":const"
> prototype/attribute whatever.

I’ve pushed a first stab at it to the sprout/anonconst branch.

$ ./miniperl -le 'for(1..10) {push @_, sub :const {$_};}  print &$_ for @_'
1
2
3
4
5
6
7
8
9
10

It still fails some porting tests and needs docs.  But polishing it up now will guarantee conflicts with my other op_const_sv work.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=123092

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About