mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-31 17:17:47 +00:00
374349cfa5
This commit makes a number of changes: * It avoids a dependency on Compiler.emitStartGoroutine. * It moves the func-lowering pass to the transform package. * It adds testing to func lowering. No functionality should have changed with this commit.
11 lines
157 B
Go
11 lines
157 B
Go
package transform
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestFuncLowering(t *testing.T) {
|
|
t.Parallel()
|
|
testTransform(t, "testdata/func-lowering", LowerFuncValues)
|
|
}
|