mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
remove builtin lookup function being passed around
This commit is contained in:
parent
154d55985b
commit
957140df64
6 changed files with 16 additions and 58 deletions
|
@ -5,7 +5,6 @@ use def::defs_to_html;
|
|||
use docs_error::DocsResult;
|
||||
use expr::expr_to_html;
|
||||
use roc_builtins::std::StdLib;
|
||||
use roc_can::builtins::builtin_defs_map;
|
||||
use roc_can::scope::Scope;
|
||||
use roc_collections::all::MutMap;
|
||||
use roc_load::docs::DocEntry::DocDef;
|
||||
|
@ -429,7 +428,6 @@ pub fn load_modules_for_files(filenames: Vec<PathBuf>, std_lib: StdLib) -> Vec<L
|
|||
src_dir.as_path(),
|
||||
MutMap::default(),
|
||||
roc_target::TargetInfo::default_x86_64(), // This is just type-checking for docs, so "target" doesn't matter
|
||||
builtin_defs_map,
|
||||
) {
|
||||
Ok(loaded) => modules.push(loaded),
|
||||
Err(LoadingProblem::FormattedReport(report)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue