Alan Donovan
Alan Donovan
Related: - https://github.com/golang/go/issues/59445 - https://github.com/golang/vscode-go/issues/3022 - https://github.com/golang/vscode-go/issues/2504
Gopls automatically selects builds based on GOOS and GOARCH tags in source files, but it does not do the same for arbitrary build tags (and it seems like a difficult...
Can you share the output of the following command: ``` $ go version $(which gopls) ``` I suggest you restart VS Code and describe what happens. If the problem persists,...
The emoji voting is very consistently enthusiastic, and Starlark-rust has an implementation, so I wouldn't object to a PR to Starlark-go to add it as an optional feature, so long...
Before we implement it, we should enumerate all the cases currently supported by Python and declare whether we intend to support them in Starlark initially, later, or never. An implementation...
The correct wording can be found at https://github.com/google/starlark-go/blob/master/doc/spec.md#name-binding-and-variables, which was updated in https://github.com/google/starlark-go/pull/178. A similar update needs to be applied to bazelbuild.
> (I'm also slightly alarmed by the existence of multiple slightly-different variations of what seems to be 99% the same spec? Is the one in starlark-go more up to date?)...
I see no compelling reason for this feature. For powers of 2, use a shift. For anything else, use the math package.
> can you please share the example of how to use Shift? Use `> 1 >> math.pow(2.0, 8.0) 256.0 ```
I feel like we discussed this in the past, but I can't find the thread. I initially thought this seemed reasonable but @stepancheg reminded me of the reason this is...