tinygo/testdata
Ayke van Laethem 82be43f4e6
compiler: implement deferring of immediately-applied closures
This is a common operation:

    freevar := ...
    defer func() {
        println("I am deferred:", freevar)
    }()

The function is thus an immediately applied closure. Only this form is
currently supported, support for regular (fat) function pointers should
be trivial to add but is not currently implemented as it wasn't
necessary to get fmt to compile.
2018-10-22 14:06:51 +02:00
..
calls.go compiler: implement deferring of immediately-applied closures 2018-10-22 14:06:51 +02:00
calls.txt compiler: implement deferring of immediately-applied closures 2018-10-22 14:06:51 +02:00
coroutines.go main: add coroutine/sleep tests 2018-09-29 00:11:58 +02:00
coroutines.txt main: add coroutine/sleep tests 2018-09-29 00:11:58 +02:00
float.go compiler: add complex manipulation 2018-10-22 13:49:03 +02:00
float.txt compiler: add complex manipulation 2018-10-22 13:49:03 +02:00
interface.go main: extra interface test for simple named types 2018-10-07 19:40:21 +02:00
interface.txt main: extra interface test for simple named types 2018-10-07 19:40:21 +02:00
map.go compiler: support comma-ok in map lookup 2018-10-20 17:54:16 +02:00
map.txt compiler: support comma-ok in map lookup 2018-10-20 17:54:16 +02:00
print.go compiler: add complex manipulation 2018-10-22 13:49:03 +02:00
print.txt compiler: add complex manipulation 2018-10-22 13:49:03 +02:00
slice.go compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
structexpand.go testdata: add better tests for struct expanding 2018-09-25 14:24:44 +02:00
structexpand.txt testdata: add better tests for struct expanding 2018-09-25 14:24:44 +02:00