Handle root type when loading from str

This commit is contained in:
Agus Zubiaga 2024-06-08 19:46:41 -03:00
parent 0283bd1d24
commit 4e5fdfbf52
No known key found for this signature in database
12 changed files with 127 additions and 101 deletions

View file

@ -110,6 +110,7 @@ pub(crate) fn global_analysis(doc_info: DocInfo) -> Vec<AnalyzedDocument> {
fi,
&doc_info.source,
src_dir,
None,
roc_target::Target::LinuxX64,
roc_load::FunctionKind::LambdaSet,
roc_reporting::report::RenderTarget::LanguageServer,