aboutsummaryrefslogtreecommitdiffhomepage
path: root/compiler/func.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-01-21 17:10:19 +0100
committerRon Evans <[email protected]>2021-01-24 09:28:09 +0100
commit9bd36597d67f76230033adab4c3481536a755f71 (patch)
treef9e39225ba219f982a1042f67032e77e1fc856a4 /compiler/func.go
parentd85ac4b3ccbb18e2d9e2c9796f296cef90c65f6b (diff)
downloadtinygo-9bd36597d67f76230033adab4c3481536a755f71.tar.gz
tinygo-9bd36597d67f76230033adab4c3481536a755f71.zip
compiler: support all kinds of deferred builtins
This change extends defer support to all supported builitin functions. Not all of them make sense (such as len, cap, real, imag, etc) but this change for example adds support for `defer(delete(m, key))` which is used in the Go 1.15 encoding/json package.
Diffstat (limited to 'compiler/func.go')
0 files changed, 0 insertions, 0 deletions