make SubsByModule opaque

This commit is contained in:
Folkert 2022-03-11 20:16:55 +01:00
parent 52c056ad13
commit c79ecec56e
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
7 changed files with 32 additions and 22 deletions

View file

@ -426,7 +426,7 @@ pub fn load_modules_for_files(filenames: Vec<PathBuf>, std_lib: StdLib) -> Vec<L
filename,
&std_lib,
src_dir.as_path(),
MutMap::default(),
Default::default(),
roc_target::TargetInfo::default_x86_64(), // This is just type-checking for docs, so "target" doesn't matter
) {
Ok(loaded) => modules.push(loaded),