import ambiguity
Sigbjorn Finne
sof@galois.com
Wed, 30 Oct 2002 07:06:55 -0800
Hi,
thanks for the report. Now fixed.
--sigbjorn
----- Original Message -----
From: "Dean Herington" <heringto@cs.unc.edu>
To: <hugs-bugs@haskell.org>
Cc: <glasgow-haskell-bugs@haskell.org>
Sent: Wednesday, October 23, 2002 09:14
Subject: import ambiguity
> With the program:
>
> import Exception
> main = let catch = Prelude.catch in catch (print "ok") print
>
> hugs 98 version 20021021 gives:
>
...
> Dependency analysis
> ERROR "ImportAmbiguity.hs":2 - Ambiguous variable occurrence "catch"
> *** Could refer to: Prelude.catch Exception.catch
>
...