mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
remove VariablesIter, it was unused
This commit is contained in:
parent
39c4b878e5
commit
241dc5783e
2 changed files with 0 additions and 150 deletions
|
@ -5509,42 +5509,4 @@ mod solve_expr {
|
|||
r#"Id [ A, B, C { a : Str }e ] -> Str"#,
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn inner_annotation_rigid() {
|
||||
infer_eq_without_problem(
|
||||
indoc!(
|
||||
r#"
|
||||
f : a -> a
|
||||
f =
|
||||
g : b -> b
|
||||
g = \x -> x
|
||||
|
||||
g
|
||||
|
||||
f
|
||||
"#
|
||||
),
|
||||
r#"a -> a"#,
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn inner_annotation_rigid_2() {
|
||||
infer_eq_without_problem(
|
||||
indoc!(
|
||||
r#"
|
||||
f : {} -> List a
|
||||
f =
|
||||
g : List a
|
||||
g = []
|
||||
|
||||
\{} -> g
|
||||
|
||||
f
|
||||
"#
|
||||
),
|
||||
r#"{} -> List a"#,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue