#3176: erroneous defaulting? behaviour for existentials
--------------------------------------------+-------------------------------
Reporter: claus | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.11
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: typecheck/should_fail/T3176 | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
--------------------------------------------+-------------------------------
Changes (by simonpj):
* testcase: => typecheck/should_fail/T3176
* difficulty: => Unknown
* status: new => closed
* resolution: => fixed
Comment:
Thank you. A definite bug caused by some earlier fiddling with record
selectors. Fixed by
{{{
Thu Apr 23 02:42:37 PDT 2009 [email protected]
* Fix Trac #3176: intercept naughty record selectors
When making record selectors into ordinary functions (rather than
magial implicit Ids) I forgot that they could therefore show up in
the *local* TcEnv, not the global one. This fixes that problem,
and thereby Trac #3176.
}}}
I added a test case too.
Smon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3176#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