tinygo/loader
Ayke van Laethem 57f49af726 loader: make sure Go version is plumbed through
This fixes the new loop variable behavior in Go 1.22.

Specifically:
  * The compiler (actually, the x/tools/go/ssa package) now correctly
    picks up the Go version.
  * If a module doesn't specify the Go version, the current Go version
    (from the `go` tool and standard library) is used. This fixes
    `go run`.
  * The tests in testdata/ that use a separate directory are now
    actually run in that directory. This makes it possible to use a
    go.mod file there.
  * There is a test to make sure old Go modules still work with the old
    Go behavior, even on a newer Go version.
2024-01-19 21:23:58 +01:00
..
errors.go main: match go test output 2021-05-06 20:04:16 +02:00
goroot.go os/user: add bare-bones implementation of the os/user package 2023-12-30 10:56:23 +01:00
list.go main (test): integrate test corpus runner 2022-01-23 10:22:28 -05:00
loader.go loader: make sure Go version is plumbed through 2024-01-19 21:23:58 +01:00
loader_go122.go loader: make sure Go version is plumbed through 2024-01-19 21:23:58 +01:00
ssa.go compiler: add support for type parameters (aka generics) 2022-06-11 20:41:16 +02:00