It's a bug all right, and a bizarre one at that.
It's fixed in the before-ghci-branch.
I'm not quite certain when it got fixed, mind you!

Hmm.  Maybe we're going to need 4.08.2.

Simon

| -----Original Message-----
| From: George Russell [mailto:[EMAIL PROTECTED]]
| Sent: 01 November 2000 17:24
| To: [EMAIL PROTECTED]
| Cc: Simon Marlow
| Subject: Why is variable out of scope?
| 
| 
| (cc:d to Simon Marlow since my last bug report doesn't seem 
| to have got through)
| 
| When I attempt to compile the attached file with (a) with 
| ghc-4.08/Solaris and 
| (b) ghc-4.08.1/Linux I get the following message:
| 
| TestSh.hs:8:
|     `Shape' is not in scope
|     When checking kinds in `HasConfigValue Shape nodeTypeParms'
|     In the class declaration for `HasShape'
| 
| Compilation had errors
| 
| (command line :
| ghc TestSh.hs -c -syslib lang -fglasgow-exts
| )
| 
| So how on earth is Shape not in scope, when I defined it two 
| lines previously?
| 

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to