Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with go 1.20+ #33

Open
nikolaydubina opened this issue Jun 5, 2023 · 0 comments
Open

Does not work with go 1.20+ #33

nikolaydubina opened this issue Jun 5, 2023 · 0 comments

Comments

@nikolaydubina
Copy link

Short summary

Does not work with go 1.20+

Steps to reproduce the behavior

git clone https://github.com/tommy-muehle/go-mnd
go install github.com/tommy-muehle/go-mnd/v2/cmd/mnd@latest
mnd ./...

go-mnd version or commit ref

v2 + latest

Go version (output of 'go version')

go version go1.20.4 darwin/arm64

Operating system / Environment

GO111MODULE=""
GOARCH="arm64"
GOBIN="//Users/nikolaydubina/go/bin"
GOCACHE="/Users/nikolaydubina/Library/Caches/go-build"
GOENV="/Users/nikolaydubina/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/nikolaydubina/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/nikolaydubina/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.20.4"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/nikolaydubina/Workspace/fpdecimal/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/dt/1y99_j6s0yj7y151_dr026gh0000gn/T/go-build134182500=/tmp/go-build -gno-record-gcc-switches -fno-common"

Expected behavior

no errors on its own repository

Actual behavior

error

mnd: internal error: package "regexp" without types was imported from "github.com/tommy-muehle/go-mnd/v2/config"
@nikolaydubina nikolaydubina mentioned this issue Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant