#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_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs