Why is variable out of scope?
George Russell
ger at Informatik.Uni-Bremen.DE
Wed Nov 1 12:23:30 EST 2000
(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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestSh.hs
Type: application/octet-stream
Size: 439 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20001101/d00effd6/TestSh.obj
More information about the Glasgow-haskell-bugs
mailing list