mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Fix Ast2 constraining of opaques
This commit is contained in:
parent
55706ae5c4
commit
0d24e279f1
5 changed files with 30 additions and 8 deletions
|
@ -6168,4 +6168,17 @@ mod solve_expr {
|
|||
"a -> Task a *",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_with_num_and_str() {
|
||||
infer_eq_without_problem(
|
||||
indoc!(
|
||||
r#"
|
||||
val = [ 1, "abc" ]
|
||||
val
|
||||
"#
|
||||
),
|
||||
"",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue