mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
fix test by swapping definition order
This commit is contained in:
parent
054907a4cb
commit
01dfda29b0
1 changed files with 2 additions and 1 deletions
|
@ -5297,11 +5297,12 @@ mod solve_expr {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn issue_2458() {
|
fn issue_2458() {
|
||||||
|
// TODO: the order of the alias definitions matters
|
||||||
infer_eq_without_problem(
|
infer_eq_without_problem(
|
||||||
indoc!(
|
indoc!(
|
||||||
r#"
|
r#"
|
||||||
Foo a : [ Blah (Result (Bar a) { val: a }) ]
|
|
||||||
Bar a : Foo a
|
Bar a : Foo a
|
||||||
|
Foo a : [ Blah (Result (Bar a) { val: a }) ]
|
||||||
|
|
||||||
v : Bar U8
|
v : Bar U8
|
||||||
v = Blah (Ok (Blah (Err { val: 1 })))
|
v = Blah (Ok (Blah (Err { val: 1 })))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue