traefik / yaegi

Yaegi is Another Elegant Go Interpreter
https://pkg.go.dev/github.com/traefik/yaegi
Apache License 2.0
6.82k stars 342 forks source link

Build Timeouts on The Go Playground #1576

Open eliasrinzen opened 1 year ago

eliasrinzen commented 1 year ago

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.

Yaegi Version

v0.15.1

Additional Notes

No response