Move src_dir into LoadStart

This commit is contained in:
Richard Feldman 2022-07-08 17:55:56 -04:00
parent 1364f1e518
commit a6d99aa357
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
9 changed files with 38 additions and 41 deletions

View file

@ -438,7 +438,7 @@ pub fn load_modules_for_files(filenames: Vec<PathBuf>) -> Vec<LoadedModule> {
match roc_load::load_and_typecheck(
&arena,
filename,
src_dir.as_path(),
src_dir,
Default::default(),
roc_target::TargetInfo::default_x86_64(), // This is just type-checking for docs, so "target" doesn't matter
roc_reporting::report::RenderTarget::ColorTerminal,