Was trying out your code on The Go Playground, but it kept timing out during the build. Seems like it's having trouble with the github.com/traefik/yaegi/interp and github.com/traefik/yaegi/stdlib packages. Here's what I got:
The following program sample.go triggers an unexpected result
https://go.dev/play/p/2n-EpZbMYI9
Expected result
Pressing run should run the code in the main function.
Got
timeout running go build
go: finding module for package github.com/traefik/yaegi/stdlib
go: downloading github.com/traefik/yaegi v0.15.1
go: found github.com/traefik/yaegi/stdlib in github.com/traefik/yaegi v0.15.1
Go build failed.
Was trying out your code on The Go Playground, but it kept timing out during the build. Seems like it's having trouble with the github.com/traefik/yaegi/interp and github.com/traefik/yaegi/stdlib packages. Here's what I got:
The following program
sample.go
triggers an unexpected resultExpected result
Got
Yaegi Version
v0.15.1
Additional Notes
No response