Open veqryn opened 2 months ago
unfortunately, i can't reproduce this because I don't have a Mac. However, the cross-compile on Linux to Mac is working successfully for me.
Interestingly, it is also failing in CI during the release build
# golang.org/x/exp/maps
Error: ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20230905200255-921286631fa9/maps/maps.go:10:10: syntax error: unexpected [, expecting (
Error: ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20230905200255-921286631fa9/maps/maps.go:20:12: syntax error: unexpected [, expecting (
Error: ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20230905200255-921286631fa9/maps/maps.go:30:11: syntax error: unexpected [, expecting (
Error: ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20230905200255-921286631fa9/maps/maps.go:44:15: syntax error: unexpected [, expecting (
I will need to investigate some more.
I have reproduced your errors locally and they only happen when kin-openapi
is incorrectly upgraded. Which is a very weird thing for go install
to do on it's own, it should respect the pinned version in the mod file.
Trying to use this project, but I can't even install it:
go install github.com/contiamo/openapi-generator-go/v2
Gives too many errors.I am on Mac OS X with Golang 1.23