mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Check in failing reproduction for #5086
This commit is contained in:
parent
424931459d
commit
fb5ac9fc6e
2 changed files with 48 additions and 0 deletions
|
@ -2723,3 +2723,16 @@ fn unspecialized_lambda_set_unification_does_not_duplicate_identical_concrete_ty
|
|||
"#
|
||||
)
|
||||
}
|
||||
|
||||
#[mono_test]
|
||||
fn inline_return_joinpoints() {
|
||||
indoc!(
|
||||
r#"
|
||||
app "test" provides [f] to "./platform"
|
||||
|
||||
f = \x ->
|
||||
caller = if Bool.false then f else \n -> n
|
||||
caller (x + 1)
|
||||
"#
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue