logo       

RE: Mysterious error from ghc6.2: msg#00015

lang.haskell.glasgow.bugs

Subject: RE: Mysterious error from ghc6.2

Ha. A long-standing infelicity, thank you. I've fixed the HEAD.

Simon, this could go in the 6.2 branch I believe

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-
| bounces@xxxxxxxxxxx] On Behalf Of George Russell
| Sent: 11 March 2004 10:32
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| Subject: Mysterious error from ghc6.2
|
| # ghc -c FunnyError.hs
|
| FunnyError.hs:7:
| Couldn't match `Bool' against `[Char]'
| Expected type: Bool
| Inferred type: [Char]
| In the definition of `b': b x "Foo" = ()
| In the definition for method `b'
|
| FunnyError.hs:9:
| tcLookup: `FunnyError.$dmb' is not in scope
| In the definition of `b': b = FunnyError.$dmb
| In the definition for method `b'
| In the instance declaration for `A Int'
|
|
| The first error is correct, but the second error message is most
peculiar,
| is it not?


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise