mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-20 03:50:15 +00:00
Merge remote-tracking branch 'origin/trunk' into fix-nested-imports
This commit is contained in:
commit
c45e3ec4b4
93 changed files with 3258 additions and 4416 deletions
|
@ -594,6 +594,7 @@ fn one_field_record() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "TODO #3421 unification of unspecialized variables in lambda sets currently causes this to be derived incorrectly"]
|
||||
fn two_field_record() {
|
||||
derive_test(v!({ a: v!(U8), b: v!(STR), }), |golden| {
|
||||
assert_snapshot!(golden, @r###"
|
||||
|
@ -649,6 +650,7 @@ fn tag_one_label_zero_args() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "TODO #3421 unification of unspecialized variables in lambda sets currently causes this to be derived incorrectly"]
|
||||
fn tag_one_label_two_args() {
|
||||
derive_test(v!([A v!(U8) v!(STR)]), |golden| {
|
||||
assert_snapshot!(golden, @r###"
|
||||
|
@ -673,6 +675,7 @@ fn tag_one_label_two_args() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "TODO #3421 unification of unspecialized variables in lambda sets currently causes this to be derived incorrectly"]
|
||||
fn tag_two_labels() {
|
||||
derive_test(v!([A v!(U8) v!(STR) v!(U16), B v!(STR)]), |golden| {
|
||||
assert_snapshot!(golden, @r###"
|
||||
|
@ -700,6 +703,7 @@ fn tag_two_labels() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "TODO #3421 unification of unspecialized variables in lambda sets currently causes this to be derived incorrectly"]
|
||||
fn recursive_tag_union() {
|
||||
derive_test(v!([Nil, Cons v!(U8) v!(*lst) ] as lst), |golden| {
|
||||
assert_snapshot!(golden, @r###"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue