Skip to content

Friend modules

For the sake of testing, I would like to import everything from a module that I test, not only the things it exports.

friend import A                  -- everything from A
friend import B (notExported)    -- notExported from B
friend import qualified C.D as E -- you guess it
...

Current work arounds:

Trac metadata
Trac field Value
Version 8.2.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information