[GHC] #1644: Problem with interface file (.hi) for a particular
function
GHC
trac at galois.com
Tue Sep 4 10:35:46 EDT 2007
#1644: Problem with interface file (.hi) for a particular function
-------------------------------------------+--------------------------------
Reporter: daniel.j.larsson at gmail.com | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
-------------------------------------------+--------------------------------
Comment (by simonpj):
Ah I vaguely remember this. The HEAD says:
{{{
Foo8.hs:7:12:
Couldn't match expected type `a b c' against inferred type `[a1]'
In the first argument of `first', namely `['x']'
In the expression: first ['x']
In the definition of `foo': foo = first ['x']
}}}
which is right. (I changed `second` to `'x'` to simplify further.)
The trouble with 6.6.1 is that it raises an exception without having any
error messages in the set of errors, and that is most unexpected.
I can't remember exactly which bug showed this in 6.6, or when it was
fixed, but it certainly seems OK in the HEAD so I'm disinclined to pursue
it further. Nevertheless the symptoms are most unhelpful, so I'll add a
bit more error checking.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1644>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list