mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Merge pull request #3643 from rtfeldman/disjoint-able-variable-specialization
Disjoint able variable specialization algorithm
This commit is contained in:
commit
86a1a0f401
9 changed files with 538 additions and 118 deletions
|
@ -2362,7 +2362,7 @@ pub mod test_constrain {
|
|||
\f -> (\a, b -> f b a)
|
||||
"#
|
||||
),
|
||||
"(a, b -> c) -> (b, a -> c)",
|
||||
"(a, b -> d) -> (b, a -> d)",
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -2400,7 +2400,7 @@ pub mod test_constrain {
|
|||
\{} -> x
|
||||
"#
|
||||
),
|
||||
"{}* -> Num *",
|
||||
"{}* -> Num a",
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue