Idris-dev/test/io003
Edwin Brady 7b5f4aa392 Fix visibility of imported things
Fixes #111
Previously, if a module B imports a module A, then a module C imports B,
the public names in A would also be visible to C (i.e. B would
automatically reexport everything from A). This seems to be a bad
default.

This patch changes the default behaviour so that the only names exported
from a module are those defined in that module. If B imports A and wants
to reexport everything in A, then A should be imported with the "public"
modifier (i.e. "import public A").

Several changes have been made to the prelude, since several prelude
modules were taking advantage of the old broken behaviour.

This may cause lots of things to break. Sorry. The fix is typically just
to import the module you should have imported anyway :).
2014-12-13 17:40:37 +00:00
..
expected Categorise tests 2014-01-30 17:24:08 +00:00
run Categorise tests 2014-01-30 17:24:08 +00:00
test018.idr Remove | annotation, make Force/Delay implicit 2014-02-13 18:17:26 +00:00
test018a.idr Fix visibility of imported things 2014-12-13 17:40:37 +00:00