Skip to content

Commit eb13187

Browse files
committed
Fix missed meta nkw in tests
1 parent a8aa478 commit eb13187

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

test/closures_ir.jl

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -587,16 +587,17 @@ end
587587
14 (call core.svec %₁₁ %₁₂ %₁₃)
588588
15 --- method core.nothing %₁₄
589589
slots: [slot₁/#self#(!read) slot₂/x slot₃/#self#(!read) slot₄/y(!read)]
590-
1 TestMod.+
591-
2 (call core.getfield slot₁/#self# :y)
592-
3 (call core.isdefined %:contents)
593-
4 (gotoifnot %₃ label₆)
594-
5 (goto label₈)
595-
6 (newvar slot₄/y)
596-
7 slot₄/y
597-
8 (call core.getfield %:contents)
598-
9 (call %₁ slot₂/x %₈)
599-
10 (return %₉)
590+
1 (meta :nkw 1)
591+
2 TestMod.+
592+
3 (call core.getfield slot₁/#self# :y)
593+
4 (call core.isdefined %:contents)
594+
5 (gotoifnot %₄ label₇)
595+
6 (goto label₉)
596+
7 (newvar slot₄/y)
597+
8 slot₄/y
598+
9 (call core.getfield %:contents)
599+
10 (call %₂ slot₂/x %₉)
600+
11 (return %₁₀)
600601
16 TestMod.#f_kw_closure##0
601602
17 (call core.svec %₁₆)
602603
18 (call core.svec)

0 commit comments

Comments
 (0)