simonmar    2002/07/29 03:50:45 PDT

  Modified files:
    ghc/compiler/basicTypes Id.lhs Name.lhs Var.lhs 
    ghc/compiler/simplCore SetLevels.lhs 
    ghc/compiler/typecheck TcMType.lhs 
  Log:
  Type variables created by the typechecker didn't have the correct
  NameSpace: they were in the Var namespace rather than the TyVar
  namespace, which can lead to strange warnings about quantified type
  variables being not mentioned in the type when DEBUG is on.
  
  Name:
        - added mkSystemNameEncoded for use when the string
          is already encoded (saves re-encoding the string every
          time)
  
        - added mkSystemTvNameEncoded for making a type variable
          name, as above
  
  Var:
        - use mkSystemTvNameEncoded when making type variables
  
  Id:
        - add mkSysLocalUnencoded for the (rare) case when
          the string needs encoding
  
  TcMType:
        - use mkSystemTvNameEncoded rather than mkSystemName for
          making type variables
  
  SetLevels:
        - use mkSysLocalUnencoded since the names generated here
          need encoding.
  
  Revision  Changes    Path
  1.108     +7 -3      fptools/ghc/compiler/basicTypes/Id.lhs
  1.99      +16 -3     fptools/ghc/compiler/basicTypes/Name.lhs
  1.29      +2 -2      fptools/ghc/compiler/basicTypes/Var.lhs
  1.57      +4 -3      fptools/ghc/compiler/simplCore/SetLevels.lhs
  1.36      +7 -6      fptools/ghc/compiler/typecheck/TcMType.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc


Reply via email to