coroutine
coroutine copied to clipboard
compiler: support Go 1.22
Go 1.22 has language changes that may affect compilation of durable coroutines, e.g. range over int / func, and changes to loop variable scoping.
See:
- https://groups.google.com/g/golang-dev/c/4RA8zxQG8uk/m/H-eklpLCAgAJ?pli=1
- https://github.com/golang/go/issues/61405