Why is variable out of scope?

Simon Peyton-Jones simonpj at microsoft.com
Thu Nov 2 07:01:57 EST 2000


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:ger at Informatik.Uni-Bremen.DE]
| Sent: 01 November 2000 17:24
| To: glasgow-haskell-bugs at haskell.org
| 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?
| 




More information about the Glasgow-haskell-bugs mailing list