Thanks, fixed. Keep those bug reports coming! :-)
--sigbjorn
----- Original Message -----
From: "Iavor S. Diatchki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 09:01
Subject: error reporting for qualified fields
> hi
>
> i seem to have stumbled onto a bug in the error reporting part of
> hugs. here is an example:
>
> [diatchki@limit Modules]$ cat hugsbug2.hs
> data T = T
>
> bug = T { X.missing = 1 }
> [diatchki@limit Modules]$ hugs hugsbug2.hs
> __ __ __ __ ____ ___ _________________________________________
> || || || || || || ||__ Hugs 98: Based on the Haskell 98 standard
> ||___|| ||__|| ||__|| __|| Copyright (c) 1994-2001
> ||---|| ___|| World Wide Web: http://haskell.org/hugs
> || || Report bugs to: [EMAIL PROTECTED]
> || || Version: February 2001 _________________________________________
>
> Haskell 98 mode: Restart with command line option -98 to enable extensions
>
> Reading file "/usr/share/hugs/lib/Prelude.hs":
> Reading file "hugsbug2.hs":
> Dependency analysis
> ERROR hugsbug2.hs:3 - "d119392" is not a selector function/field name
> Prelude> :q
> [Leaving Hugs]
>
>
> it seems to only happen when one uses qualified field names. if the
> field name is not qualified the correct error is reported.
>
>
> bye
> iavor
>
> _______________________________________________
> Hugs-Bugs mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/hugs-bugs
_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs