transitive imports

Sigbjorn Finne sof@galois.com
Mon, 15 Jul 2002 22:20:25 -0700


Hi,

thanks for the report; now fixed.

--sigbjorn


----- Original Message ----- 
From: "Ross Paterson" <ross@soi.city.ac.uk>
To: <hugs-bugs@haskell.org>
Sent: Monday, July 15, 2002 05:47
Subject: transitive imports


> Given these modules:
> 
> module A(Stuff(Foo, Bar)) where
> data Stuff = Foo | Bar
> 
> module B(Stuff(..)) where
> import A
> 
> module C where
> import B
> 
> loading C gives "INTERNAL ERROR: importEntity"
> 
> Changing the import in C gives different internal errors.  The particular
> form of the exports in A and B and the import in B seems necessary to
> trigger the bug.