Changeset 15710 for src/Pugs/Eval

Show
Ignore:
Timestamp:
03/14/07 16:33:44 (21 months ago)
Author:
audreyt
Message:

* Chase "is context" pad structure changes in other modules.

This concludes the contextual-declarations batch.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Eval/Var.hs

    r15682 r15710  
    3232 
    3333constPadEntry :: VRef -> PadEntry 
    34 constPadEntry r = EntryConstant{ pe_type = refType r, pe_proto = r } 
     34constPadEntry r = PEConstant{ pe_type = refType r, pe_proto = r, pe_flags = mempty } 
    3535 
    3636lookupShellEnvironment :: ByteString -> Eval (Maybe PadEntry) 
     
    476476inferExpType (Ann _ exp) = inferExpType exp 
    477477inferExpType (Pad _ _ exp) = inferExpType exp 
    478 inferExpType (Sym _ _ _ exp) = inferExpType exp 
     478inferExpType (Sym _ _ _ _ exp) = inferExpType exp 
    479479inferExpType (Stmts _ exp) = inferExpType exp 
    480480inferExpType (Syn "," _)    = return $ mkType "List"