Fix Ast2 constraining of opaques

This commit is contained in:
Ayaz Hafiz 2022-04-25 12:07:31 -04:00
parent 55706ae5c4
commit 0d24e279f1
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
5 changed files with 30 additions and 8 deletions

View file

@ -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
"#
),
"",
)
}
}