traefik / yaegi

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

Range over int #1644

Closed rcoreilly closed 1 month ago

rcoreilly commented 2 months ago

This adds support for the for i := range n range-over-int form of the for loop, introduced in go 1.22 https://github.com/golang/go/issues/61405

Includes tests for 3 forms, and everything passes.

rcoreilly commented 1 month ago

This is now superseded by #1645.