Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

misc/reboot: don't use symlinks when copying GOROOT/src

go:embed disallows using symlinked files by design.
crypto/elliptic is the first std package to ...

ef06a5f44a46dfaf601ca79717ffb00b3591d297 authored over 2 years ago by Daniel Martí <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: If6b68df0c90464566e68de6807d15f4b8bec6219

74d25c624c01d8deefaf37ee7edb41980d0d5912 authored over 2 years ago by Chressie Himpel <[email protected]>
crypto/elliptic: use go:embed for the precomputed p256 table

go.dev/cl/339591 changed the code generation to use a constant string,
so that the ~88KiB table ...

c856fbf36190cef65ac6639a048cd512e4b7fc0a authored over 2 years ago by Daniel Martí <[email protected]>
doc/go1.18: mention linker improvements

Change-Id: I12cad608448ddd17a5da2b1d1209007102d892a7
Reviewed-on: https://go-review.googlesource...

69e1711f287f5cd92296240f99d347edc23d40b7 authored over 2 years ago by Josh Bleecher Snyder <[email protected]>
go/parser: fix incorrect resolution of receiver type parameters

Declare receiver type parameters in the function scope, but don't
resolve them (for now), as ast...

911c78fe54fe9fc0655c013d2aa303e147d63529 authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: ensure we have an interface before checking constraints

Due to delayed computation of constraint type sets it is possible that
a type argument is checke...

7db75b368d4599e02b065f48b6ca8675b658b928 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: record correct argument type for cap, len

Record the actual argument type for a cap/len call, not the
underlying type.

Fixes #51055.

Cha...

49030c87e02c02f9b3ad812e4d447c4f1e39d745 authored over 2 years ago by Robert Griesemer <[email protected]>
runtime: don't assume that 0.25 * 100 is representable as int

For the gofrontend, it's not; there are some trailing one bits,
which is permitted by the spec.
...

8f374aa27f887d78ef709115c140fd5862691df0 authored over 2 years ago by Ian Lance Taylor <[email protected]>
doc/go1.18: mention new x/exp generic packages

Change-Id: I119cfb1a0da9af89ced78935b8fcdfdb8d9b4ab6
Reviewed-on: https://go-review.googlesource...

fa0484640479a26687608706c9f6628eac1174d2 authored over 2 years ago by Ian Lance Taylor <[email protected]>
misc/cgo: fix aliasing bugs in parallel tests that append to shared slices

These tests use a slice to represent the base C compiler command (with
flags). Appending to that...

3c4c10ea8c87836a75c4065660c72c0929309dd7 authored over 2 years ago by Bryan C. Mills <[email protected]>
test: apply GO_TEST_TIMEOUT_SCALE scaling to test timeouts

Change run.go to apply the GO_TEST_TIMEOUT_SCALE scaling factor to
test timeouts (mentioned in "...

867a3d55024b654347fcbc0782a39ecd57d94a27 authored over 2 years ago by Than McIntosh <[email protected]>
os: don't repeat dir argument in CreateTemp error

The dir argument is already in prefix, we shouldn't add it again.

Change-Id: I42a158bec3a43950f...

334a591a3f4d868368913328b3e81ddf5b0f46fa authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/dist: skip internal linking tests on arm64

The previous workaround for issue #39466 only disabled this test for
Linux. However, the issue m...

1d6051380c1faa3e515db73c4cfe14f807e2c686 authored over 2 years ago by Benny Siegert <[email protected]>
runtime: change sys.PtrSize to goarch.PtrSize in comments

The code was updated, the comments were not.

Change-Id: If387779f3abd5e8a1b487fe34c33dcf9ce5fa7...

d588f487703e773ba4a2f0a04f2d4141610bff6b authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: use identical missingMethod in both type checkers

Further simplify and regularize Checker.missingMethod and use the
same code in both type checker...

7c9885def52a408532085a566eea107f31ad1556 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: always use missingMethodReason in checker.Implements

Remove special case where we don't have a *Checker and always use
Checker.missingMethodReason in...

aadbfc30afe7be3bc8d90e8267e7c9ca2dff95f4 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: simplify Checker.typeAssertion, use same code in both type checkers

- Remove the xtyp argument from the Checker.typeAssertion parameter
list; it was confusing and...

f1903fd4ecbf7a1e524bf71ddecb8650b9d2ea9f authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: simplify missingMethodReason

Added a funcString helper so we don't need to rewrite strings
with strings.Replace.

Use compile...

ef843ae49c8a8ad6494da294fc46b0e80147e715 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: fix bug in types2.MissingMethod

Because Checker.missingMethod also looks up methods matching
matching case-folded names, when Ch...

d9eba71a643f31e509dd08884509c5b2c1ab26a4 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: remove superflous type parameter length checks

There is no need to check for length equality of type parameter
lists in Checker.missingMethod: ...

727790a2fda02e75844ce91320c05fd2bf1f431d authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use same method lookup code in both type checkers

types2 has some code to handle case-folding when doing method lookups
which was missing in go/ty...

d5bd3f9a6c3833d0c12ec45e1c73f8adf32ee2dd authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better error messages for expression switches

Fixes #50965.

Change-Id: I61a74bdb46cf5e72ab94dbe8bd114704282b6211
Reviewed-on: https://go-revi...

63e833154c230e9f46b41f913b12d3c72912cabc authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better error messages for comparisons

Refactor Checker.comparison such that its logic is easier to reason
about and so that special ca...

e052044d6b25a76603cafbfb1099cf4196528556 authored over 2 years ago by Robert Griesemer <[email protected]>
internal/fuzz: change meaning of "total" in output

Fixes #51023

Change-Id: I7dd9f7c696e15ba9c6c887d4c4e0f4d281a82b17
Reviewed-on: https://go-revie...

f9763a648bbe4468118b95e147bc5e81268d0341 authored over 2 years ago by Katie Hockman <[email protected]>
testing: remove TODO and link to fuzz docs

Change-Id: I3f5ee9629b0b0f3f29a021a656dbf3bca27e582d
Reviewed-on: https://go-review.googlesource...

56a539724809122ecee26acddc3b8a7b775afed6 authored over 2 years ago by Katie Hockman <[email protected]>
cmd/go: preserve LIBRARY_PATH and C_INCLUDE_PATH for script tests

In bespoke build environments default libraries may be specificied with
LIBRARY_PATH, C_INCLUDE_...

2aafd9ea179ec308607c131dbda438abac2b9184 authored over 2 years ago by Brandon Bennett <[email protected]>
cmd/go: accept "-F dir" in compiler flags

Fixes #51008

Change-Id: I5e47c7be59d4aae1d5059d99231422212cffa23a
Reviewed-on: https://go-revie...

02224c8ce471b9618081c69d952fb8597f71b7e6 authored over 2 years ago by Ian Lance Taylor <[email protected]>
internal/nettrace: fix spelling error

Change-Id: Ibf51c0687197c0d791916b21cba7f8408aa5300a
Reviewed-on: https://go-review.googlesource...

6e56fcedfb6338e0a75dadef190a1c342e837cf4 authored over 2 years ago by Kevin Burke <[email protected]>
go/parser, go/types: don't parse type parameters on methods

The go/parser package is updated to report an error on method type
parameters, and to not store ...

4afcc9f35e97b4e96f2f350f2a00ea65f43f4175 authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: restrict generics test to -G=3

Change-Id: Ifdb4f4f4fab8d45847ca525198b3960f87799f0c
Reviewed-on: https://go-review.googlesource...

4e2410617d7b13e63e80ad77c9b2d44abaf39e9a authored over 2 years ago by Keith Randall <[email protected]>
misc/cgo/test: disable unhelpful GCC warning

GCC 9 warns about a change in the ABI of passing structs with bitfields,
but we don't care.

Fix...

248ad855b7d0e49839b7b4281d9e60e222368583 authored over 2 years ago by Ian Lance Taylor <[email protected]>
crypto/x509: support NumericString in DN components

Fixes #48171

Change-Id: Ia2e1920c0938a1f8659935a4f725a7e5090ef2c0
Reviewed-on: https://go-revie...

896df422a7cecbace10f5877beeeb1476b6061ae authored over 2 years ago by Roland Shoemaker <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: I18dbf4f9fa7e2334fccedd862a523126cf38164e

e14fee553a4646d15123caa04f7ca6ddb7b48362 authored over 2 years ago by Chressie Himpel <[email protected]>
cmd/compile: ensure size is computed for shape types

Fixes #50993

Change-Id: I5f1bf5a8375c3da3203083b11de26962523ccb36
Reviewed-on: https://go-revie...

1ab827371858e02f864f91e7dc561ae48eb7bbd0 authored over 2 years ago by Keith Randall <[email protected]>
crypto/elliptic: make IsOnCurve return false for invalid field elements

Thanks to Guido Vranken for reporting this issue.

Fixes #50974
Fixes CVE-2022-23806

Change-Id:...

7f9494c277a471f6f47f4af3036285c0b1419816 authored over 2 years ago by Filippo Valsorda <[email protected]>
doc/go1.18: add crypto/x509 verifier notes

Change-Id: If3e835e868ae695ba232b57096c135ce2e73305b
Reviewed-on: https://go-review.googlesource...

0003d9da093ce1cb19aebb074da4506fade35a66 authored over 2 years ago by Roland Shoemaker <[email protected]>
runtime: regression test for issue 50936

Add a regression test for issue 50936 which coerces the runtime into
frequent execution of the c...

f9b761aa76d0cf439a0c996e1b7c06a0fe49314e authored over 2 years ago by Michael Pratt <[email protected]>
runtime: skip TestSegv failures with "morestack on g0" on darwin/amd64

This failure mode has been present since at least 2020-06-08. We have
enough information to diag...

bec8a108b324b2fc68eafeee7293a479813ec4e2 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/modfetch: do not short-circuit canonical versions

Since at least CL 121857, the conversion logic in
(*modfetch).codeRepo.Stat has had a short-circ...

fa4d9b8e2bc2612960c80474fca83a4c85a974eb authored over 2 years ago by Bryan C. Mills <[email protected]>
go/types, types2: shorter list for 2nd phase of function type inference

In the 2nd phase of function argument type inference we only
consider parameters with types that...

b00447038a50e0923b12cb0bc3c28f6b842a7f54 authored over 2 years ago by Robert Griesemer <[email protected]>
net: remove an arbitrary timeout in TestUDPReadSizeError

Looking at the condition actually exercised by the test it seems
unnecessary: assuming that the ...

475ce826b75f113aff2810f3d27cb861adee0caa authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: fail 'go work' subcommands with a more helpful error if no go.work file exists

Otherwise, the failure mode for these subcommands refers to an empty file path:
go: open : no s...

d0a0606841937cd6dd1db7a95ebd9d6e7ad02d96 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/modload: skip deleted entries in UpdateWorkFile

Fixes #50958

Change-Id: I25b4f34bea7705525217296471ce97e6a2ab99f6
Reviewed-on: https://go-revie...

54b2a75406a4e347cff2825b698f910549d6bd04 authored over 2 years ago by Bryan C. Mills <[email protected]>
net/netip: correct ipv6 address in ParsePrefix comment

Fixes #50950

Change-Id: Iea94dba6e57d7e7985d4ae06a9b59ad126568599
Reviewed-on: https://go-revie...

1c6426505e640799f2a16d6097eed3f83b372b37 authored over 2 years ago by Ian Lance Taylor <[email protected]>
constraints: remove package

It has moved to golang.org/x/exp/constraints. Perhaps it will move
back to the standard library ...

070951c5dcc47c9cff2ad4c1ac6170a4060a4d0c authored over 2 years ago by Ian Lance Taylor <[email protected]>
crypto/ecdsa,crypto/elliptic: update docs and spec references

crypto/ecdsa was long overdue a cleanup. Bump the FIPS 186 version, and
make sure we consistentl...

8384fe86a5b7f579a50c7ad423d4dd4eb2d1f117 authored over 2 years ago by Filippo Valsorda <[email protected]>
doc/go1.18: add crypto/tls, crypto/x509, and crypto/elliptic release notes

Updates #45428
Updates #41682

Change-Id: I811bc4f8ec8de6b6db6a2917e265a72134a05e78
Reviewed-on:...

a9384eef7ae3a2587d215e3ec3d79bc1b335ce82 authored over 2 years ago by Filippo Valsorda <[email protected]>
runtime: update _defer comment to not mention freedefer

CL 339669 changed freedefer to not mention every field of _defer,
so no need to call it out in t...

53d6a725f85b9b688a02bbf40cd8961c78bf0b91 authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: add a const to control recursion panics in unification

Add a panicAtUnificationDepthLimit const to replace the use of the debug
const to control whethe...

77eff30ec0bc63df61ea742bb8278f92e2c133dc authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: edit README

Make some small edits for clarification of important concepts.

Change-Id: I1f78f2a59489ac71e394...

edbe4742a296239c06cd99721bb0dbc5008d35a1 authored over 2 years ago by pierwill <[email protected]>
internal/fuzz: small cleanups

Change-Id: I9fc12f352d57db776d176990277e104f64f9908d
Reviewed-on: https://go-review.googlesource...

9784ef8ab139491773684386c1cefa0b75fdb89e authored over 2 years ago by Katie Hockman <[email protected]>
cmd/go: document that GOENV=off disables the default config file

Fixes #46840

Change-Id: Icc5475e312003e316dc039413a35089485163ba6
Reviewed-on: https://go-revie...

36b81acfa19d9fedf6a0cd60c394fd7a7703834e authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: add detail to test failures

For #50892

Change-Id: I14ff1c43b39687a0ba5e668ee962cecfb49e4beb
Reviewed-on: https://go-review....

a6a7c7a1fd6a2450cfec11e54217e04dce843a54 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix relative-path normalization in go.work files

We had been statting 'dir' instead of 'absDir', which statted the
wrong directory if 'dir' was m...

5522f8c8e6132fe36e4da74f6628a9d63f643d60 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: add missing newlines in TestScript '? cmp' output

Change-Id: I0314c2e9073b162119060a23c5eee9a78ca08ebf
Reviewed-on: https://go-review.googlesource...

e22a14b7eb1e4a172d0c20d14a0d2433fdf20e5c authored over 2 years ago by Bryan C. Mills <[email protected]>
doc/go1.18: explain changes to compiler error messages

For #47694.
For #50954.

Change-Id: I3789e145d64025fe2bf787fa5d01a21832903586
Reviewed-on: https...

a42bbf47d6b0d6f67ad843252cb2e8f56a9d32b7 authored over 2 years ago by Robert Griesemer <[email protected]>
doc/go1.18: document restrictions for real, imag, complex

For #47694.
For #50912.
For #50937.

Change-Id: I3fae6c8dbbd61a45e669b8fb0c18ac76f2183963
Review...

125c5a3d69c99378b17f50dc3f05e3cf3a8b9d2b authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: tweak missingMethodReason logic to improve message

This makes the error case pointed out in the issue like the current
message in Go 1.17 or -G=0 m...

902dc38212dfdc21911fc32035704ec50a7b9994 authored over 2 years ago by Dan Scales <[email protected]>
internal/fuzz: properly handle duplicates during cache loading

When loading the corpus, if the cache contained an entry which was a
duplicate of an entry added...

93fe469de5388b71af2aa2c959dc485fa3d4bee3 authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd/go/internal/workcmd: fix typo in help string

Fixes #50945

Change-Id: Ib6251a5be09f4c6ba428ef4c97fe23ebffca3506
Reviewed-on: https://go-revie...

f1e7dcb49cba50203d656f931c3fb90b29727629 authored over 2 years ago by Bryan C. Mills <[email protected]>
spec: add section on comparable constraint

For #50646.
Fixes #50791.

Change-Id: I8fec25ae3f0280c5b5a778011d23842b886ba79e
Reviewed-on: htt...

9152e211328f735e7dadaf69780920d64af09a2a authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: disallow real, imag, complex on type parameters

We can type-check these fine but the API implications are unclear.

Fixes #50912.
For #50937.

C...

4fea5935f5f03b5037c792f8d5f5aa4cba90f1d6 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: fix unification code for defined types

Fixes #50929.

Change-Id: I65b8eaf5e4b423839bc53c7b1db3679961498c8a
Reviewed-on: https://go-revi...

eab9a77a60f5b6aaba978b61fbb260f2fbb307fb authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: update go work edit -json types to final version

For #45713

Change-Id: Ia55a96702b99cccaf5d96c2125ee513700658444
Reviewed-on: https://go-review....

d3f5cf9d285d39258b2e6f9002c44aaab3e77c42 authored over 2 years ago by Ian Lance Taylor <[email protected]>
Revert "runtime: normalize sigprof traceback flags"

This reverts commit CL 358900.

Adding _TraceJumpStack to cgo traceback exposed a crashing condi...

822dbcb7d4b7ab2410bdc19355a0bff99c3c467e authored over 2 years ago by Michael Pratt <[email protected]>
runtime: mgcmark.go typo fix: gorountine -> goroutine.

Change-Id: I5cd980a7c825619cc782a3bca2a1c9c7971fdca2
GitHub-Last-Rev: 6833eedf2dab77f7263f980383...

38cf79526a5859fb6363e607b2277ab442b28dcb authored over 2 years ago by doujiang24 <[email protected]>
go/types, types2: fix implements and identical predicates

- Use the correct predicate in Checker.implements: for interfaces
we cannot use the API Compar...

360e1b8197b78685cf08ab5914aa629fb739b2c3 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: rewrite TestScript/cgo_stale_precompiled to be agnostic to staleness

The configuration set by x/build/cmd/releasebot causes runtime/cgo to
be stale in the darwin/amd...

41f485b9a7d8fd647c415be1d11b612063dff21c authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix error message when missing import

Fixes #48907

Change-Id: I504f846fc2ea655ba00aedb30f90847f938c347c
Reviewed-on: https://go-revie...

a5c0b190809436fd196a348f85eca0416f4de7fe authored over 2 years ago by zhouguangyuan <[email protected]>
doc/go1.18: mention new debug/dwarf DataBitOffset fields

For #46784
For #47694
For #50685

Change-Id: I5351b56722d036a520d1a598ef7af95c5eb44c35
Reviewed-...

122654739dce506364d10c450afcc36d7572922d authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: correct -trimpath docs for the standard library

Fixes #50402

Change-Id: Ic539afc1aef3906ef591b403eba0fde20a5ccef2
Reviewed-on: https://go-revie...

5fd8c9b5c5a0348317e49e6c58e34b9a6e00e91a authored over 2 years ago by Mark Pulford <[email protected]>
doc/go1.18: in workspace mode doc, link to "go work" docs

For #45713
For #47694

Change-Id: I6f615c07749fca49c19f2ae22f79971c29aa8183
Reviewed-on: https:/...

1fadc392ccaefd76ef7be5b685fb3889dbee27c6 authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: delete TypeList.String

This method is unused and was not discussed in the API
proposals. Note that all error output goe...

b37c6e15477a934f894488751bed8abcf16b4f5c authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: remove Qualifier parameter from Checker.implements

Where we provide it we take it from the Checker (which is already
passed in). Thus there's no ne...

8f7d96f5bcb927a576a43b890f2643e521107665 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use Checker.implements in operand.assignableTo

Now that we have the detailed error reporting in Checker.implements
we don't need it anymore in ...

25b4b862f29900af00c794424b033b01eb5ab0cb authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better error reporting for Checker.implements

This CL copies (and adjusts as needed) the logic for error reporting
from operand.assignableTo t...

2e30c4b4bb7c4426ebc27e8af6d0570dbd97054b authored over 2 years ago by Robert Griesemer <[email protected]>
spec: add section on type inference

Change-Id: Ic338788d6410ed0d09ad129811377ee9ce5ed496
Reviewed-on: https://go-review.googlesource...

654d5f4b5dfc30167bbffd0d7aeba3c1e29277c8 authored over 2 years ago by Robert Griesemer <[email protected]>
debug/dwarf: fix problems with handling of bit offsets for bitfields

This patch reworks the handling of the DWARF DW_AT_bit_offset and
DW_AT_data_bit_offset attribut...

8314544bd6b3c5f0bee89a6bd411ced0aeba1a8c authored over 2 years ago by Than McIntosh <[email protected]>
go/types, types2: delete _TypeSet.includes - not used (cleanup)

Change-Id: Ia324c6185e36efd4ea7dc92d7c2233fec8f5a55f
Reviewed-on: https://go-review.googlesource...

9ff00398489d9eb1822b3de028cd6ccf5674ebb3 authored over 2 years ago by Robert Griesemer <[email protected]>
math/big: prevent overflow in (*Rat).SetString

Credit to rsc@ for the original patch.

Thanks to the OSS-Fuzz project for discovering this
issu...

ad345c265916bbf6c646865e4642eafce6d39e78 authored over 2 years ago by Katie Hockman <[email protected]>
go/types: update interface receivers after substituting

Interface method receivers are synthetic: they record either the
interface type or the the defin...

f5fe5a4524d5e5390238ae7f5abcaa4299b31a37 authored over 2 years ago by Robert Findley <[email protected]>
go/types, cmd/compile: fix composite literal structural typing

For a composite literal expression like []T{{f: 1}}, we allow T to be
a pointer to struct type, ...

1a2435c95f8c68c7d21d172c8a80c6cc96aa9cf5 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove incorrect arm,arm64 CMP->CMN transformations

These can go wrong when one of the operands is the minimum integer value.

Fixes #50854.

Change...

b7b44b3173f151a2313da7072afd25de80511605 authored over 2 years ago by David Chase <[email protected]>
internal/fuzz: centralize corpus entry addition

Adds an addCorpusEntry method to coordinator which manages checking for
duplicate entries, writi...

b2dc66c64db933120c34d2223e670e8594543bd9 authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd/compile: add missing shape check in (*Tsubster).tinter

Add a missing shape check in (*Tsubster).tinter when substituting on a
generic type which is an ...

a991d9dc27bda23018e23488806c8f8d027e4f7b authored over 2 years ago by Dan Scales <[email protected]>
cmd/compile: support structural typing in unified IR

This CL updates unified IR to look at the structural type of a
composite literal type, rather th...

f4aa021985e9ae4a9a395f8fbe32ad08d2bfda3b authored over 2 years ago by Matthew Dempsky <[email protected]>
Revert "spec: document the underlying type of comparable"

This reverts CL 380854.

Per the conluding discussions on #50791. A follow-up will
document `com...

db48840cfc5ea9f8067cd5238827965ea01cdde1 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: clean up the set up of error, comparable

Follow-up on CL 380754.

For #50791.

Change-Id: Ia2f8f9785c2f02647525e7ee4168991fd4066dd3
Revie...

ef0b09c526d78de23186522d50ff93ad657014c0 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: print underlying type of comparable as "interface{comparable}"

For #50791.

Change-Id: Ib12009d2895146e55ec3a51aa8ceafe58dfd82a5
Reviewed-on: https://go-review...

ca6a5c0d518463b40c3e6e56655d45d9fd60e1f7 authored over 2 years ago by Robert Griesemer <[email protected]>
doc/go1.18: note short-circuit and/or in html/template

It was already noted in text/template; copied from there.

Change-Id: Ie749d04004af60f2333073ddf...

c8b0dcea4a3e67289ccf985b10616200817cca86 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile/internal/types2: remove (*Signature).SetRecvTypeParams

This method isn't available in go/types, and its use by unified IR is
non-essential. This CL ref...

8cfbb58bc70b9f9126a3310ac564344cc08c604b authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/api: reduce parallel 'go list' invocations to a constant

'go list' has its own internal parallelism, so invoking in in parallel
can produce up to quadrat...

946a8669d92f18a0029abaed9cea36194562a957 authored over 2 years ago by Bryan C. Mills <[email protected]>
spec: document the underlying type of comparable

For #50791.

Change-Id: I7f135bb6626128a3cee9fd71c57535c1fc83ac7f
Reviewed-on: https://go-review...

719e9894f9a471cd74b8469d9231cd2798b33999 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: fix retrieving Mercurial commit timestamp under Windows

Use "hgdate" since the strftime filter is unsupported by Mercurial under
Windows.

Fixes #49841
...

55589e7531c7e576a26f5610241a278caf6e4a4e authored over 2 years ago by Mark Pulford <[email protected]>
cmd/go: avoid recording GOROOT_FINAL in precompiled C archives

C archives for packages in GOROOT are shipped along with binary
releases of the Go toolchain. Al...

0f4bd92c4d9a16efe05e397354dec87737338d2c authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: refactor TestScript/build_issue48319 to check a more general property

The test previously checked that the DWARF DW_AT_comp_dir attribute
matched GOROOT_FINAL. Howeve...

a9eedc0789085f55193bdbf0d777b8eaeccb1890 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: remove mercurial from bitbucket vcs options

Mercurial was deprecated as of July 1, 2020 as per https://bitbucket.org/blog/sunsetting-mercuri...

5b1b80beb1a2a9a353738e80777d1e25cfdfa095 authored over 2 years ago by Ethan Anderson <[email protected]>
cmd/go: add mv and support "! cmp" in script tests

For #50183

Change-Id: Ie384333fb7a69d0d2cfaba0cfc4eb7afba2fd745
Reviewed-on: https://go-review....

827babf6aa602c76e45fabfdc2efe8d3f30edabd authored over 2 years ago by Bryan C. Mills <[email protected]>
all: update vendored golang.org/x/tools

Update the vendored x/tools to pick up CL 380014, which updates the
ifaceassert vet analyzer to ...

6eb58cdffa1ab334493776a25ccccfa89c2ca7ac authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: all interfaces implement comparable (add tests)

For #50646.

Change-Id: I7420545556e0df2659836364a62ce2c32ad7a8b1
Reviewed-on: https://go-review...

38729cff96ad38b2d5b530c1009ff0403ebff903 authored over 2 years ago by Robert Griesemer <[email protected]>