mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 16:03:41 +00:00
revise defer to use heap allocations when running a variable number of times
This commit is contained in:
Vendored
+4
@@ -4,6 +4,10 @@ Thing.Print: foo arg: bar
|
||||
...run as defer 3
|
||||
...run closure deferred: 4
|
||||
...run as defer 1
|
||||
loop 3
|
||||
loop 2
|
||||
loop 1
|
||||
loop 0
|
||||
bound method: foo
|
||||
thing inside closure: foo
|
||||
inside fp closure: foo 3
|
||||
|
||||
Reference in New Issue
Block a user