mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Simplify tail-call checks
This commit is contained in:
parent
33d868117f
commit
346a2d9467
3 changed files with 33 additions and 70 deletions
|
@ -96,7 +96,8 @@ fn early_return_solo() {
|
|||
identity "abc"
|
||||
"#,
|
||||
RocStr::from("abc"),
|
||||
RocStr
|
||||
RocStr,
|
||||
true
|
||||
);
|
||||
|
||||
assert_evals_to!(
|
||||
|
@ -107,6 +108,7 @@ fn early_return_solo() {
|
|||
identity 123
|
||||
"#,
|
||||
123,
|
||||
i64
|
||||
i64,
|
||||
true
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue