mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
bd1d11d166
Go 1.27 adds generic methods (golang/go#77273). golang.org/x/tools go/ssa v0.42.0 does not instantiate them: objectMethod only applies receiverTypeArgs and ignores method-level type parameters, so a call such as (*math/rand/v2.Rand).N resolves to the abstract generic method and its body reaches createConst with a type-parameter-typed zero constant, triggering "panic: expected nil interface constant". Upgrade golang.org/x/tools to v0.47.0, whose go/ssa returns nil from MethodValue for generic methods and instantiates method-level type parameters. No compiler changes are required. Since x/tools v0.47.0 requires Go 1.25, raise the minimum supported Go version from 1.24 to 1.25. Signed-off-by: deadprogram <ron@hybridgroup.com>
54 lines
2.0 KiB
Modula-2
54 lines
2.0 KiB
Modula-2
module github.com/tinygo-org/tinygo
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
github.com/aykevl/go-wasm v0.0.2-0.20250317121156-42b86c494139
|
|
github.com/blakesmith/ar v0.0.0-20150311145944-8bd4349a67f2
|
|
github.com/gofrs/flock v0.8.1
|
|
github.com/golangci/misspell v0.6.0
|
|
github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf
|
|
github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf
|
|
github.com/marcinbor85/gohex v0.0.0-20200531091804-343a4b548892
|
|
github.com/mattn/go-colorable v0.1.13
|
|
github.com/mattn/go-tty v0.0.4
|
|
github.com/mgechev/revive v1.3.9
|
|
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3
|
|
github.com/tetratelabs/wazero v1.9.0
|
|
go.bug.st/serial v1.6.4
|
|
go.bytecodealliance.org v0.6.2
|
|
go.bytecodealliance.org/cm v0.2.2
|
|
golang.org/x/net v0.56.0
|
|
golang.org/x/sys v0.46.0
|
|
golang.org/x/tools v0.47.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
tinygo.org/x/espflasher v0.6.1
|
|
tinygo.org/x/go-llvm v0.0.0-20260422095634-06c6725fe5e6
|
|
)
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.4.0 // indirect
|
|
github.com/chavacava/garif v0.1.0 // indirect
|
|
github.com/coreos/go-semver v0.3.1 // indirect
|
|
github.com/creack/goselect v0.1.2 // indirect
|
|
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
|
|
github.com/fatih/color v1.17.0 // indirect
|
|
github.com/fatih/structtag v1.2.0 // indirect
|
|
github.com/hashicorp/go-version v1.7.0 // indirect
|
|
github.com/klauspost/compress v1.17.11 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.9 // indirect
|
|
github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/regclient/regclient v0.8.2 // indirect
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
|
github.com/spf13/afero v1.11.0 // indirect
|
|
github.com/ulikunitz/xz v0.5.12 // indirect
|
|
github.com/urfave/cli/v3 v3.0.0-beta1 // indirect
|
|
golang.org/x/mod v0.37.0 // indirect
|
|
golang.org/x/text v0.38.0 // indirect
|
|
)
|