#4396: tc003(hpc) failing with link error
----------------------------------------+-----------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: merge
Priority: highest | Milestone: 7.0.1
Component: Compiler (Type checker) | Version: 7.1
Keywords: | Testcase: tc003(hpc)
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------------+-----------------------------------
Changes (by simonpj):
* status: new => merge
* testcase: => tc003(hpc)
Comment:
Fixed by
{{{
Thu Oct 21 18:03:24 BST 2010 [email protected]
* Fix Trac #4396, by localising pattern binders in the desugarer
See Note [Localise pattern binders]
M ./compiler/deSugar/DsUtils.lhs -5 +43
}}}
Also I improved Lint to catch the error earlier:
{{{
Fri Oct 22 08:24:05 BST 2010 [email protected]
* Lint should check for duplicate top-level bindings with same qualified
name
This would have produced a more civilised error for Trac #4396
M ./compiler/coreSyn/CoreLint.lhs -11 +29
}}}
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4396#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs