pass stdlib by reference

This commit is contained in:
Folkert 2021-01-14 16:49:55 +01:00
parent c4e5af554b
commit ab6cb7ac93
9 changed files with 20 additions and 52 deletions

View file

@ -129,7 +129,7 @@ fn files_to_documentations(
let mut loaded = roc_load::file::load_and_typecheck(
&arena,
filename,
std_lib.clone(),
&std_lib,
src_dir,
MutMap::default(),
8, // TODO: Is it okay to hardcode ptr_bytes here? I think it should be fine since we'er only type checking (also, 8 => 32bit system)