Support tuples in the repl

Closes #5148
This commit is contained in:
Ayaz Hafiz 2023-03-21 13:52:31 -04:00
parent 9620f9e0e8
commit 4c2f8f3566
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 82 additions and 1 deletions

View file

@ -1268,3 +1268,15 @@ fn enum_tag_union_in_list() {
r#"[E, F, G, H] : List [E, F, G, H]"#,
);
}
#[test]
fn tuple() {
expect_success(
indoc!(
r#"
("a", 2u32)
"#
),
r#"("a", 2) : ( Str, U32 )*"#,
);
}