mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
moved exposed module filtering into docs
This commit is contained in:
parent
98b454d1cf
commit
321baf86d1
3 changed files with 30 additions and 19 deletions
|
@ -3378,14 +3378,6 @@ fn finish(
|
|||
|
||||
roc_checkmate::dump_checkmate!(checkmate);
|
||||
|
||||
// let mut docs_by_module = Vec::with_capacity(state.exposed_modules.len());
|
||||
|
||||
// for (module_id, _) in state.module_cache.module_names {
|
||||
// if let Some(docs) = documentation.remove(&module_id) {
|
||||
// docs_by_module.push(docs);
|
||||
// }
|
||||
// }
|
||||
|
||||
LoadedModule {
|
||||
module_id: state.root_id,
|
||||
interns,
|
||||
|
@ -3399,6 +3391,7 @@ fn finish(
|
|||
exposed_values,
|
||||
exposed_to_host: exposed_vars_by_symbol.into_iter().collect(),
|
||||
exposed_types_storage,
|
||||
exposed_modules: state.exposed_modules.into(),
|
||||
resolved_implementations,
|
||||
sources,
|
||||
timings: state.timings,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue