patch applied (ghc-6.8/ghc): FIX #1465,
error messages could sometimes say things like "A.T doesn't match
igloo at earth.li
Thu Sep 6 12:20:37 EDT 2007
Thu Sep 6 02:37:44 PDT 2007 Simon Marlow <simonmar at microsoft.com>
* FIX #1465, error messages could sometimes say things like "A.T doesn't match A.T"
This turned out to be a black hole, however we believe we now have a
plan that does the right thing and shouldn't need to change again.
Error messages will only ever refer to a name in an unambiguous way,
falling back to <package>:<module>.<name> if no unambiguous shorter
variant can be found. See HscTypes.mkPrintUnqualified for the
Earlier hacks to work around this problem have been removed (TcSimplify).
M ./compiler/basicTypes/Module.lhs -1 +1
M ./compiler/basicTypes/Name.lhs -2 +6
M ./compiler/deSugar/DsMonad.lhs -6 +7
M ./compiler/ghci/GhciTags.hs -5 +8
M ./compiler/main/GHC.hs -5 +7
M ./compiler/main/HscTypes.lhs -14 +52
M ./compiler/rename/RnNames.lhs -1 +2
M ./compiler/typecheck/TcRnMonad.lhs -3 +6
M ./compiler/typecheck/TcSimplify.lhs -34 +11
M ./compiler/utils/Outputable.lhs -18 +28
More information about the Cvs-ghc