cvs commit: fptools/ghc/compiler/typecheck Inst.lhs fptools/ghc/compiler/types Type.lhs

Jeff Lewis lewie@glass.cse.ogi.edu
Wed, 15 Nov 2000 10:23:55 -0800


lewie       2000/11/15 10:23:55 PST

  Modified files:        (Branch: before-ghci-branch)
    ghc/compiler/typecheck Inst.lhs 
    ghc/compiler/types   Type.lhs 
  Log:
  Added new function splitMethodTy which is used in place of splitRhoTy in
  newMethod.  This fixes the problem, reported by José Romildo Malaquias,
  where you couldn't write an instance decl for a class method that had
  a monomorphic implicit parameter.
  
  Revision  Changes    Path
  1.63.2.1  +6 -4      fptools/ghc/compiler/typecheck/Inst.lhs
  1.66.2.6  +21 -1     fptools/ghc/compiler/types/Type.lhs