Alan Donovan

Results 42 issues of Alan Donovan

This stack `5MRL7A`, `_ZM1lw` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2023-11-12.json): [cache.(*typeCheckBatch).importPackage.func1:19]() is ``` // debugging issue #60904 if pkg.Name() != item.Name { return bug.Errorf("internal error: package name is %q, want %q (id=%q,...

gopls
Tools
gopls/telemetry-wins

Observed in one builder in the context of https://go.dev/cl/585277; test passed after re-try. ``` --- FAIL: TestGCDetails_Toggle/default (2.01s) gcdetails_test.go:52: waiting on: Unmeetable: once "All of:\ncompleted work \"diagnosing opened files\" at...

gopls
Tools

The interaction of [exec.Cmd](https://pkg.go.dev/os/exec#Cmd) and [os.Getwd](https://pkg.go.dev/os#Getwd) is rather subtle: the working directory of a POSIX process is represented by a file descriptor, not a string, so C's [getcwd](https://pubs.opengroup.org/onlinepubs/9699919799/functions/getcwd.html) will always...

Documentation
NeedsFix
gabywins

The LSP typeDefinition query reports the location of the definition of a type. Currently, it requires a symbol, whose type it computes, and from which it then tries to pick...

help wanted
FeatureRequest
gopls
Tools

The titles of the commands returned by the [fillstruct](https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/fillstruct) code action use unqualified type names; they should be qualified: for example instead of "Add cases for Addr", show "Add cases...

gopls
Tools

The fillstruct code action looks for declarations in the current file, before the current point, as candidates for the initializers of each missing field. That seems doubly arbitrary: package-level declarations...

gopls
Tools

It is unnecessary that gopls creates two HTTP servers, one for debugging and one for the "product" (as used by the doc, assembly, and free-symbols code actions). We should combine...

gopls
Tools

The `go doc` command displays documentation to stdout, which is handy for quick forays for a single package or symbol, but for extended reading a browser is more convenient, as...

Proposal
FeatureRequest
GoCommand
pkgsite/cmd

GitHub's markdown renderer creates lowercase anchors for headings. For example, this heading, `## Diagnostic`, can be found using either of these two URLs, which differ in the case of their...

This CL adds rudimentary support for reading MachO files containing 64-bit ARM code. Static symbols only; no relocations yet.