[commit: ghc] tc-untouchables: Improve the binding location of class methods (I think) (0683258)
Simon Peyton Jones <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : tc-untouchables http://hackage.haskell.org/trac/ghc/changeset/0683258393f8eb3046c08cdb88868fa1467e6fd2 >--------------------------------------------------------------- commit 0683258393f8eb3046c08cdb88868fa1467e6fd2 Author: Simon Peyton Jones <[email protected]> Date: Mon Sep 17 13:39:49 2012 +0100 Improve the binding location of class methods (I think) I've totally forgotten what this patch is fixing, but it's all about getting the right source location for class methods. It's fairly minor, but annoying that I can't connect it with a Trac ticket compiler/basicTypes/Name.lhs | 7 ++++- compiler/deSugar/DsBinds.lhs | 5 ++- compiler/typecheck/TcClassDcl.lhs | 27 +++++++++----------- compiler/typecheck/TcInstDcls.lhs | 49 +++++++++++++++++++----------------- 4 files changed, 47 insertions(+), 41 deletions(-) Diff suppressed because of size. To see it, use: git show 0683258393f8eb3046c08cdb88868fa1467e6fd2