mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
addes test to docs for function
This commit is contained in:
parent
428b4574ae
commit
d3f2b95f7a
17 changed files with 136 additions and 578 deletions
|
@ -4,7 +4,7 @@ use roc_ast::{
|
|||
lang::{self, core::def::def_to_def2::def_to_def2},
|
||||
mem_pool::pool::Pool,
|
||||
};
|
||||
use roc_code_markup::{markup::nodes::def2_to_markup, slow_pool::SlowPool};
|
||||
use roc_code_markup::{markup::convert::from_def2::def2_to_markup, slow_pool::SlowPool};
|
||||
use roc_module::symbol::{IdentIds, Interns, ModuleId, ModuleIds};
|
||||
use roc_region::all::Region;
|
||||
use roc_types::subs::VarStore;
|
||||
|
@ -17,6 +17,7 @@ pub fn defs_to_html<'a>(
|
|||
defs: Vec<roc_parse::ast::Def<'a>>,
|
||||
env_module_id: ModuleId,
|
||||
env_module_ids: &'a ModuleIds,
|
||||
all_ident_ids: IdentIds,
|
||||
interns: &Interns,
|
||||
) {
|
||||
let mut env_pool = Pool::with_capacity(1024);
|
||||
|
@ -35,6 +36,7 @@ pub fn defs_to_html<'a>(
|
|||
&mut var_store,
|
||||
dep_idents,
|
||||
env_module_ids,
|
||||
all_ident_ids,
|
||||
exposed_ident_ids,
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue