Fix code-gen tests due to associativity change.
This commit is contained in:
parent
bff822ea7f
commit
0f926d3c31
|
@ -4379,7 +4379,7 @@ fn expect_head3_no_tail() {
|
||||||
test hi() {
|
test hi() {
|
||||||
let a = [1, 2, 3]
|
let a = [1, 2, 3]
|
||||||
expect [h, i, j] = a
|
expect [h, i, j] = a
|
||||||
h == h && i == i && j == j
|
(h == h && i == i) && j == j
|
||||||
}
|
}
|
||||||
"#;
|
"#;
|
||||||
|
|
||||||
|
@ -4451,7 +4451,7 @@ fn expect_head3_cast_data_no_tail() {
|
||||||
test hi() {
|
test hi() {
|
||||||
let a: Data = [1, 2, 3]
|
let a: Data = [1, 2, 3]
|
||||||
expect [h, i, j]: List<Int> = a
|
expect [h, i, j]: List<Int> = a
|
||||||
h == h && i ==i && j == j
|
(h == h && i ==i) && j == j
|
||||||
}
|
}
|
||||||
"#;
|
"#;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue