mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-12 09:05:00 +00:00
Support multiple modules in uitest
This commit is contained in:
parent
0ec0568ef9
commit
014ec8c092
5 changed files with 192 additions and 30 deletions
|
@ -31,7 +31,7 @@ mod solve_expr {
|
|||
..
|
||||
},
|
||||
src,
|
||||
) = run_load_and_infer(src, false)?;
|
||||
) = run_load_and_infer(src, [], false)?;
|
||||
|
||||
let mut can_problems = can_problems.remove(&home).unwrap_or_default();
|
||||
let type_problems = type_problems.remove(&home).unwrap_or_default();
|
||||
|
@ -103,7 +103,7 @@ mod solve_expr {
|
|||
interns,
|
||||
abilities_store,
|
||||
..
|
||||
} = run_load_and_infer(src, false).unwrap().0;
|
||||
} = run_load_and_infer(src, [], false).unwrap().0;
|
||||
|
||||
let can_problems = can_problems.remove(&home).unwrap_or_default();
|
||||
let type_problems = type_problems.remove(&home).unwrap_or_default();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue