Ticket #1704 (new deprecation)
Implicit selection of main sub is deprecated.
Reported by: | bacek | Owned by: | plobsing |
---|---|---|---|
Priority: | normal | Milestone: | 3.0 |
Component: | imcc | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.