What version of Go are you using (go version
)?
$ go version go version go1.25.1 darwin/arm64
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env AR='ar' CC='cc' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_ENABLED='1' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' CXX='c++' GCCGO='gccgo' GO111MODULE='' GOARCH='arm64' GOARM64='v8.0' GOAUTH='netrc' GOBIN='' GOCACHE='/Users/a25058/Library/Caches/go-build' GOCACHEPROG='' GODEBUG='' GOENV='/Users/a25058/Library/Application Support/go/env' GOEXE='' GOEXPERIMENT='' GOFIPS140='off' GOFLAGS='' GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/cl/_2y767694xv2bmsy7svq871w0000gp/T/go-build2988189532=/tmp/go-build -gno-record-gcc-switches -fno-common' GOHOSTARCH='arm64' GOHOSTOS='darwin' GOINSECURE='' GOMOD='/Users/a25058/htdocs/evcc/go.mod' GOMODCACHE='/Users/a25058/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='darwin' GOPATH='/Users/a25058/go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/opt/homebrew/Cellar/go/1.25.1/libexec' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/Users/a25058/Library/Application Support/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/opt/homebrew/Cellar/go/1.25.1/libexec/pkg/tool/darwin_arm64' GOVCS='' GOVERSION='go1.25.1' GOWORK='' PKG_CONFIG='pkg-config' uname -v: Darwin Kernel Version 24.6.0: Mon Aug 11 21:15:09 PDT 2025; root:xnu-11417.140.69.701.11~1/RELEASE_ARM64_T6041 ProductName: macOS ProductVersion: 15.7 BuildVersion: 24G222 lldb --version: lldb-1700.0.9.502 Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
What did you do?
Start debug session in VScode, look at variables:
What did you expect to see?
requiredDuration
should be type time.Duration
.
What did you see instead?
requiredDuration
is shown as grpc type with a confusing value (actual value is 0).
Comment From: gabyhelp
Related Issues
- x/tools/gopls: random cannot use X as X in value in argument Y #34584 (closed)
- x/tools/gopls: Wrong completion for int * time.Duration #58944 (closed)
- Test #73656 (closed)
- run #70024 (closed)
- Test #70447 (closed)
- Bugs-Report #62338 (closed)
- go/types, types2: wrong result of float add float #48315 (closed)
- Demo #66258 (closed)
- test #74008 (closed)
- sb #53220 (closed)
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: ArjitGopher
please assign this issue to me