Changeset 6934 for src/Pugs/Bind.hs

Show
Ignore:
Timestamp:
09/11/05 16:24:40 (3 years ago)
Author:
iblech
Message:

* Pugs.AST.Internals, Pugs.Bind:

isNamed is set correctly now (i.e. it's False for normal positional
parameters and True for "+" and "++" params).
Testing t/subroutines/* indicates that this change is sane, i.e. all but one
tests which worked previously still work.

* src/perl6/Prelude.pm: Trivial change so the Prelude gets rebuild (probably

needed because of the isNamed change).

* t/subroutines/{splatty_in_caller_position,sub_ref}.t: unTODO/try

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Bind.hs

    r6286 r6934  
    2424 
    2525isRequired :: Param -> Bool 
    26 isRequired prm = not ( isOptional prm || isNamed prm ) 
     26isRequired prm = not $ isOptional prm 
    2727 
    2828{-|