Skip to content

Commit 68767c0

Browse files
author
Philip Guo
committed
update tests to reflect keeping return values for closure zombie frames
1 parent 2e158d9 commit 68767c0

24 files changed

Lines changed: 9356 additions & 491 deletions

‎v3/example-code/closures/closure1.golden‎

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@
227227
"frame_id": 1,
228228
"encoded_locals": {
229229
"y": 1,
230+
"__return__": [
231+
"REF",
232+
2
233+
],
230234
"bar": [
231235
"REF",
232236
2
@@ -240,7 +244,8 @@
240244
"unique_hash": "foo_f1_p_z",
241245
"ordered_varnames": [
242246
"y",
243-
"bar"
247+
"bar",
248+
"__return__"
244249
]
245250
}
246251
],
@@ -281,6 +286,10 @@
281286
"frame_id": 1,
282287
"encoded_locals": {
283288
"y": 1,
289+
"__return__": [
290+
"REF",
291+
2
292+
],
284293
"bar": [
285294
"REF",
286295
2
@@ -294,7 +303,8 @@
294303
"unique_hash": "foo_f1_p_z",
295304
"ordered_varnames": [
296305
"y",
297-
"bar"
306+
"bar",
307+
"__return__"
298308
]
299309
},
300310
{
@@ -352,6 +362,10 @@
352362
"frame_id": 1,
353363
"encoded_locals": {
354364
"y": 1,
365+
"__return__": [
366+
"REF",
367+
2
368+
],
355369
"bar": [
356370
"REF",
357371
2
@@ -365,7 +379,8 @@
365379
"unique_hash": "foo_f1_p_z",
366380
"ordered_varnames": [
367381
"y",
368-
"bar"
382+
"bar",
383+
"__return__"
369384
]
370385
},
371386
{
@@ -423,6 +438,10 @@
423438
"frame_id": 1,
424439
"encoded_locals": {
425440
"y": 1,
441+
"__return__": [
442+
"REF",
443+
2
444+
],
426445
"bar": [
427446
"REF",
428447
2
@@ -436,7 +455,8 @@
436455
"unique_hash": "foo_f1_p_z",
437456
"ordered_varnames": [
438457
"y",
439-
"bar"
458+
"bar",
459+
"__return__"
440460
]
441461
},
442462
{
@@ -496,6 +516,10 @@
496516
"frame_id": 1,
497517
"encoded_locals": {
498518
"y": 1,
519+
"__return__": [
520+
"REF",
521+
2
522+
],
499523
"bar": [
500524
"REF",
501525
2
@@ -509,7 +533,8 @@
509533
"unique_hash": "foo_f1_p_z",
510534
"ordered_varnames": [
511535
"y",
512-
"bar"
536+
"bar",
537+
"__return__"
513538
]
514539
}
515540
],

0 commit comments

Comments
 (0)