Add implcit imports for modules defined by instantiation #1691
Labels
feature request
Asking for new or improved functionality
low-hanging fruit
For issues that should be easy to fix
parameterized modules
Related to Cryptol's parameterized modules
Consider the following example:
This defines 3 submodules, 2 normal ones and a functor. At the moment we add implicit imports for simple modules, such as
A
, but not ones defined by instantiation (e.g.,B
).I think it'd be more consistent to also add an import for
B
. We still can't add implicit imports for things insideB
, because at this stage we don't know whatF
is, and therefore we can't tell what it defines (so we don't know what to import)The text was updated successfully, but these errors were encountered: