[GHC] #2237: qualified names not permitted everywhere in
instances
GHC
trac at galois.com
Mon Apr 28 03:35:49 EDT 2008
#2237: qualified names not permitted everywhere in instances
-------------------------------+--------------------------------------------
Reporter: claus | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 6.9
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
-------------------------------+--------------------------------------------
Comment (by simonpj):
Good suggestion. I had a look, but it's really not convenient to do this.
Haskell ''never'' allows a qualified name in a binding position, and it's
the code that parses bindings that emits the error message. Of course
this'd be fixable by adding some more context information, but it looks
like more than just adding a boolean flag to me.
So I think other feature requests are probably higher priority. But if
you'd like to have a go yourself, the error comes from
RdrHsSyn.checkFunBind.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2237#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list