This commit is contained in:
J.Teeuwissen 2023-06-07 17:06:19 +02:00 committed by Folkert
parent d735742fdb
commit 46bff75517
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
13 changed files with 365 additions and 320 deletions

View file

@ -3113,7 +3113,7 @@ fn dbg_in_expect() {
}
#[mono_test]
fn drop_specialize_inc_after_jump() {
fn drop_specialize_before_jump() {
indoc!(
r#"
app "test" provides [main] to "./platform"
@ -3122,15 +3122,14 @@ fn drop_specialize_inc_after_jump() {
main =
v = "value"
t = { left: { left: v, right: v }, right: v }
t = { left: v, right: v }
tupleItem t
tupleItem = \t ->
true = Bool.true
l = t.left
x = if true then 1 else 0
t2 = {left: l, right: t}
{left: l, right: t2}
{left: l, right: {left: l, right: t}}
"#
)
}