mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Toss out unneeded test
This commit is contained in:
parent
4315a36e90
commit
70c27943fa
1 changed files with 0 additions and 35 deletions
|
@ -8471,41 +8471,6 @@ mod solve_expr {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn issue_4733() {
|
|
||||||
infer_queries!(
|
|
||||||
indoc!(
|
|
||||||
r#"
|
|
||||||
app "test" provides [main] to "./platform"
|
|
||||||
|
|
||||||
fn = \{} ->
|
|
||||||
#^^{-1}
|
|
||||||
instr : [ Op (U64, U64 -> U64) ]
|
|
||||||
instr = if Bool.true then (Op Num.mul) else (Op Num.add)
|
|
||||||
# ^^^^^
|
|
||||||
|
|
||||||
Op op = instr
|
|
||||||
# ^^
|
|
||||||
|
|
||||||
\a -> op a a
|
|
||||||
# ^^
|
|
||||||
|
|
||||||
main = (fn {}) 3u64
|
|
||||||
# ^^
|
|
||||||
# ^^^^^
|
|
||||||
"#
|
|
||||||
),
|
|
||||||
@r###"
|
|
||||||
fn : {}* -[[fn(1)]]-> (U64 -[[6(6) (U64, U64 -[[Num.add(19), Num.mul(21)]]-> U64)]]-> U64)
|
|
||||||
instr : [Op (U64, U64 -[[Num.add(19), Num.mul(21)]]-> U64)]*
|
|
||||||
op : U64, U64 -[[Num.add(19), Num.mul(21)]]-> U64
|
|
||||||
op : U64, U64 -[[Num.add(19), Num.mul(21)]]-> U64
|
|
||||||
fn : {} -[[fn(1)]]-> (U64 -[[6(6) (U64, U64 -[[Num.add(19), Num.mul(21)]]-> U64)]]-> U64)
|
|
||||||
fn {} : U64 -[[6(6) (U64, U64 -[[Num.add(19), Num.mul(21)]]-> U64)]]-> U64
|
|
||||||
"###
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn disjoint_nested_lambdas_result_in_disjoint_parents_issue_4712() {
|
fn disjoint_nested_lambdas_result_in_disjoint_parents_issue_4712() {
|
||||||
infer_queries!(
|
infer_queries!(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue