Hello!

While trying to compile fudgets with my newest ghc build
(CVS, checked out on Mon Jun 21, about 18:00 GMT), the following error
occurred:

Font.hs:182: Data constructor not in scope: `LA'

Font.hs:182: Variable not in scope: `.!'

Font.hs:182: Data constructor not in scope: `LA'

Font.hs:182: Variable not in scope: `.!'

Line 182 is:

Arr (b1,b2) a ! i = (a LA.! dix (ii-fromEnum b1)) LA.! ii where ii = fromEnum i

and in the beginning of that file, there's a qualified import:

import qualified Array as LA

I.e. either the parser or the renamer doesn't recognize qualified
operators.

Regards, Hannah.

PS: Just tested some more:

This works:

import qualified Prelude as P
main = P.print (1 P.+ 2)

This does NOT work:

module Y where
import qualified Array as A
acc a x = a A.! x

It DOES work with ghc 3.02 and with an older post-4.02-CVS checkout.

Reply via email to