Show
Ignore:
Timestamp:
10/03/06 15:21:04 (2 years ago)
Author:
audreyt
Message:

* oops, the slurpy-param count fix accidentally broke named args.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim/Param.hs

    r12324 r13823  
    1414foldParam :: String -> Params -> Params 
    1515foldParam "Named" = \ps -> ( 
    16     (buildParam "Hash" "*" "@?0" (Val VUndef)): 
    17     (buildParam "Hash" "*" "%?0" (Val VUndef)):ps) 
     16    (buildParam "Any" "*" "@?0" (Val VUndef)): 
     17    (buildParam "Any" "*" "%?0" (Val VUndef)):ps) 
    1818foldParam "List"    = doFoldParam "Any" "*@?1" 
    1919foldParam ('r':'w':'!':"List") = \ps -> ((buildParam "List" "" "@?0" (Val VUndef)) { isLValue = True }:ps)