Check in failing reproduction for #5086

This commit is contained in:
Ayaz Hafiz 2023-03-05 21:40:10 -06:00
parent 424931459d
commit fb5ac9fc6e
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 48 additions and 0 deletions

View file

@ -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)
"#
)
}