-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
What version of Go are you using (go version)?
$ go version go version devel go1.18-7f231453 Thu Dec 16 00:34:10 2021 +0000 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/gura/Library/Caches/go-build" GOENV="/Users/gura/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/gura/go/pkg/mod" GONOPROXY="*.uangel.com" GONOSUMDB="*.uangel.com" GOOS="darwin" GOPATH="/Users/gura/go" GOPRIVATE="*.uangel.com" GOPROXY="https://proxy.golang.org,direct" GOROOT="/Users/gura/sdk/gotip" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/Users/gura/sdk/gotip/pkg/tool/darwin_amd64" GOVCS="" GOVERSION="devel go1.18-7f231453 Thu Dec 16 00:34:10 2021 +0000" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/gura/git/gotptest/go.mod" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mr/dvhjg7zd4l125pln73bqyr400000gn/T/go-build2752388136=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
https://gotipplay.golang.org/p/4ZB6ITms4-e
Sorry the code is too long, but that is minimum.
Full source can be downloaded from here : https://github.com/csgura/gotptest
What did you expect to see?
Compiler compiles it within a reasonable time or prints error message.
What did you see instead?
It never end.
If I delete some functions Applicative5 ~ Applicative14, it works well.
So I don't think that the problem is matter of data structure or algorithm problem.
Working version is here : https://gotipplay.golang.org/p/lWWj0aK9mqo
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Type
Projects
Status
Triage Backlog
Status
No status