remove argument from the from_str functions

This commit is contained in:
Folkert 2022-12-24 14:41:28 +01:00
parent e44bf59334
commit 26e5ac85d4
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
6 changed files with 2 additions and 11 deletions

View file

@ -54,13 +54,11 @@ pub fn compile_to_mono<'a, 'i, I: Iterator<Item = &'i str>>(
let filename = PathBuf::from("");
let src_dir = PathBuf::from("fake/test/path");
let (bytes_before_expr, module_src) = promote_expr_to_module(arena, defs, expr);
let exposed_types = Default::default();
let loaded = roc_load::load_and_monomorphize_from_str(
arena,
filename,
module_src,
src_dir,
exposed_types,
RocCacheDir::Persistent(cache::roc_cache_dir().as_path()),
LoadConfig {
target_info,