[GHC] #1567: too little information from error message when
matching types with same unqualified name fails
GHC
trac at galois.com
Sun Jul 29 11:36:00 EDT 2007
#1567: too little information from error message when matching types with same
unqualified name fails
--------------------------+-------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: low | Milestone: 6.8
Component: Compiler | Version: 6.6.1
Severity: minor | Keywords: error message qualified name type
Difficulty: Easy (1 hr) | Os: Multiple
Testcase: | Architecture: Multiple
--------------------------+-------------------------------------------------
{{{
Couldn't match expected type `Name' against inferred type `Name'
Expected type: RegExp Name -> RegExp Name
Inferred type: RegExp Name -> RegExp Name
In the expression: (packWithMod m) (Literal n)
In the definition of `cp2regex':
cp2regex (TagName n m) = (packWithMod m) (Literal n)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1567>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list