Merge remote-tracking branch 'origin/trunk' into str-fromUtf8

This commit is contained in:
Folkert 2021-02-21 15:25:36 +01:00
commit 57b78dde06
156 changed files with 19265 additions and 10809 deletions

View file

@ -10,6 +10,7 @@ mod helpers;
#[cfg(test)]
mod solve_expr {
use crate::helpers::with_larger_debug_stack;
use roc_can::builtins::builtin_defs_map;
use roc_collections::all::MutMap;
use roc_types::pretty_print::{content_to_string, name_all_type_vars};
@ -63,6 +64,7 @@ mod solve_expr {
dir.path(),
exposed_types,
8,
builtin_defs_map,
);
dir.close()?;
@ -878,7 +880,7 @@ mod solve_expr {
infer_eq(
indoc!(
r#"
\f -> (\a, b -> f b a),
\f -> (\a, b -> f b a)
"#
),
"(a, b -> c) -> (b, a -> c)",
@ -3279,7 +3281,7 @@ mod solve_expr {
else
Ok { position, cost: 0.0 }
Set.foldl model.openSet folder (Ok { position: boom {}, cost: 0.0 })
Set.walk model.openSet folder (Ok { position: boom {}, cost: 0.0 })
|> Result.map (\x -> x.position)
astar : Model position -> Result position [ KeyNotFound ]*