#1704: Implicit selection of main sub is deprecated.
-------------------------+--------------------------------------------------
Reporter: bacek | Owner:
Type: deprecation | Status: new
Priority: normal | Milestone: 3.0
Component: imcc | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-------------------------+--------------------------------------------------
After 2.6 current behaviour of selecting main Sub will be changed. Instead
of something like "First sub in PIR file if there is no :main Sub" we will
use only first Sub marked with ":main" modifier.
Main reason - enable args validation of 0-arity subs. See also
http://irclog.perlgeek.de/parrotsketch/2010-07-13#i_2550626 for
discussion.
Eligible in 2.7.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1704>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets