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

cmd/compile: delay all call transforms if in a generic function

We changed to delaying all transforms of generic functions, since there
are so many complicated ...

4edefe95689c31846a73e36b3e0723c924def45d authored over 2 years ago by Dan Scales <[email protected]>
doc/go1.18: mention runtime/pprof improvements

For #47694.

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

8c5904f149a4863183925c71ce4118413e7e0167 authored over 2 years ago by Felix Geisendörfer <[email protected]>
doc/go1.18: fix typo in AMD64 port section

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

b2dfec100afa7739dc1845f1009dad2d7163116c authored over 2 years ago by Tobias Klauser <[email protected]>
go/types, types2: don't crash if comp. literal element type has no core type

Instead, report a suitable error.

Fixes #51335.

Change-Id: Ifce90cb7487b1e99c6b4221c0d43bacc0c...

78e99761fc4bf1f5370f912b8a4594789c2f09f8 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: generalize cleanup phase after type checking

Use a cleanup method and simple registration mechanism
for types that need some final processing...

e94f7df957b6cfbdfbed7092fd05628452c5e018 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: add "dynamic" flag to comparable predicate

A type implements a comparable interface only if the type
is statically known to be comparable. ...

163da6feb525a98dab5c1f01d81b2c705ead51ea authored over 2 years ago by Robert Griesemer <[email protected]>
go/types: delete unnecessary slice construction

CL 374294 made our check for incorrect type parameters constraints
eager, but failed to remove t...

e534907f65f5a3eda47a069ea0aab33306c1d616 authored over 2 years ago by Robert Findley <[email protected]>
doc/go1.18: drop misplaced period

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

d0c3b0116217a898f2e5d2d00cc5f0356ea5ad1e authored over 2 years ago by Michael Pratt <[email protected]>
net: document methods of Buffers

There is code in the wild that copies the Buffers slice,
but not the contents.
Let's document ex...

35170365c83085024e4855c14032599f5513d563 authored over 2 years ago by Martin Sucha <[email protected]>
doc/go1.18: correct "go build -asan" HTML tag

The tag was "go-mod-vendor", which doesn't match the content.

Also move that section later, so ...

3140625606f83328a5c7754fd952ed8d52a76404 authored over 2 years ago by Cherry Mui <[email protected]>
crypto/x509, runtime: fix occasional spurious “certificate is expired”

As documented in #51209, we have been seeing a low-rate failure
on macOS builders caused by spur...

d17b65ff54a1824288eb68fe3fbc8c7beed14bb6 authored over 2 years ago by Russ Cox <[email protected]>
doc/go1.18: fix a few small typos, add a few commas

Updates #47694

Change-Id: I6c1c3698fdd55fe83c756f28776d1d26dba0a9df
Reviewed-on: https://go-rev...

c9fe126c8bf25d14b233f1ccaff12c1bffbd4971 authored over 2 years ago by Alberto Donizetti <[email protected]>
encoding/xml: embedded reference to substruct causes XML marshaller to panic on encoding

When encoding a xml attribute is zero value (IsValid == false), we need
a `continue` to jump ove...

851ecea4cc99ab276109493477b2c7e30c253ea8 authored over 2 years ago by hopehook <[email protected]>
testdata: fix typo in comment

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

0261fa616a16dc37b862691f79c7b4d301dfbe4a authored over 2 years ago by hopehook <[email protected]>
doc/go1.18: fix grammar error

sed 's/the/that/g'

Change-Id: I3f539817b055d54b0ec99346555ac91b756d9ed6
GitHub-Last-Rev: 2e7df1...

903e7cc69971b2c7bf40a1e7ff2a9e3dd353dc5a authored over 2 years ago by Nick Sherron <[email protected]>
strings: fix typo in comment

Remove unnecessary whitespace in noescape comment

Fixes #50634

Change-Id: I1c8d16c020b05678577...

e002cf4df7fcd9925916ed78df7ed2a49031ed2e authored over 2 years ago by George Looshch <[email protected]>
doc/go1.18: document Go 1.17 bootstrap and //go:build fix

For #44505 and #41184.

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

61b5c866a9507524d0a3d7a7e0c892c975ca081b authored over 2 years ago by Russ Cox <[email protected]>
runtime: save some stack space for racecall on ARM64

To avoid nosplit overflow in -race -N -l build.

For #51247.

Change-Id: I48426bbd4adefd18eaf26e...

d27248c52f8545aa3c3de07e3d2568da5c5df785 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: define racefuncenter and racefuncexit as ABIInternal

They are called from compiler instrumented code as ABIInternal.
Define them as ABIInternal to av...

d93cc8cb9639212ee674ecbc9149fb897dd8fd77 authored over 2 years ago by Cherry Mui <[email protected]>
reflect: call ABIInternal moveMakeFuncArgPtrs on ARM64

Save some stack space, to avoid nosplit overflow in
-race -N -l build.

For #51247.

Change-Id: ...

20b177268fe6d5711a104e5fcd09b7b1ad6a561b authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: fix importers to deal with recursion through type constraints

The code for issue #51219 reveals bugs in the types1 and types2
importers that can occur for rec...

d35ed094864617d82c5701f56811ad68b37eda6e authored over 2 years ago by Dan Scales <[email protected]>
os: eliminate arbitrary sleep in Kill tests

The test spawned a subprocess that arbitrarily slept for one second.
However, on some platforms,...

eaf040502b763a6f00dced35e4173c2ce90eb52f authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/modload: set errors for packages with invalid import paths

Prior to CL 339170, relative errors in module mode resulted in a
base.Fatalf from the module loa...

c016133c50512e9a83e7442bd7ac614fe7ca62de authored over 2 years ago by Bryan C. Mills <[email protected]>
database/sql: make WAIT tests more robust, rely on waiter trigger

Replace the WAIT query prefix with a function callback.
This fixes timing issues when the testin...

a289e9ce7514a34cd930469322395bf0e89b59ea authored over 2 years ago by Daniel Theophanes <[email protected]>
testing: panic in Fuzz if the function returns a value

Otherwise, the behavior of a fuzz target that returns an error could
be confusing.

Fuzz is alre...

f985833dec19b0147db3c5c33d3bf0181891d458 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: set go.work path using GOWORK, and remove -workfile flag

This change removes the -workfile flag and allows the go.work file path
to be set using GOWORK (...

5d8d3878496918d51347422d651629975343b18e authored over 2 years ago by Michael Matloob <[email protected]>
time: document that Parse truncates to nanosecond precision

For #48685
Fixes #50806

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

293ecd87c10eb5eed777d220394ed63a935b2c20 authored over 2 years ago by Ian Lance Taylor <[email protected]>
net: increase maximum accepted DNS packet to 1232 bytes

The existing value of 512 bytes as is specified by RFC 1035.
However, the WSL resolver reportedl...

6e82ff83cfbef78aa60706c1a7167a31c30e7ef9 authored over 2 years ago by Ian Lance Taylor <[email protected]>
Revert "net: send EDNS(0) packet length in DNS query"

This reverts https://go.dev/cl/385035. For 1.18 we will use a simple
change to increase the acce...

d3c9ef57ce5a887f6eb3d87a22adf38ef4e651ee authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: in workspace mode, resolve replacements relative to their go.mod files

Fixes #51204

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

d199ceffa89335efe0e314f07e6ac508834f8004 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/modfetch: avoid leaking a lockedfile.File in case of write errors

The go modules download command has a method called hashZip which checks the
hash of a zipped di...

08ed4882aaa50c9629a3e8636b699ceff6592ad6 authored over 2 years ago by alex.schade <[email protected]>
runtime: enable sigPerThreadSyscall handling on android

CL 383434 forgot to enable these paths for android, which is still linux
just not via GOOS.

Fix...

b5af5c0834a57751fae78fefc922f5e9f5b50941 authored over 2 years ago by Michael Pratt <[email protected]>
runtime, syscall: reimplement AllThreadsSyscall using only signals.

In issue 50113, we see that a thread blocked in a system call can result
in a hang of AllThreads...

0a5fae2a0e965024f692b95f7e857904a274fcb6 authored over 2 years ago by Michael Pratt <[email protected]>
runtime/internal/syscall: new package for linux

Add a generic syscall package for use by the runtime. Eventually we'd
like to clean up system ca...

0b321c9a7c0055dfd3f875dea930a28690659211 authored over 2 years ago by Michael Pratt <[email protected]>
runtime: move doAllThreadsSyscall to os_linux.go

syscall_runtime_doAllThreadsSyscall is only used on Linux. In
preparation of a follow-up CL that...

7a132d6f4e319b307f185c73a8492bfa706fe678 authored over 2 years ago by Michael Pratt <[email protected]>
go/types, types2: add tests for literals in type parameter lists

Add tests that verify consistent behavior of go/types and types2 with
respect to potentially amb...

76bd8ea9e133293d2a8253f01f66c1ca9add64e6 authored over 2 years ago by Robert Findley <[email protected]>
go/parser, go/printer: fix parsing of ambiguous type parameter lists

This is a port of CL 370774 to go/parser and go/printer. It is adjusted
for the slightly differe...

dd7194b28ec7762ace737efc0f0a62c96cb4a4ad authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: drop column info when line number saturates

When line number saturates, we can end up getting non-monotonic
position info, because the start...

1de2344af16125ae2fabed226f2fbb40a150238c authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: correct type of pointer difference on RISCV64

Pointer comparison is lowered to the following on RISCV64

(EqPtr x y) => (SEQZ (SUB <x.Type> x ...

1ed30ca537a05b887f8479027b6363a03f957610 authored over 2 years ago by Cherry Mui <[email protected]>
net: in TestNotTemporaryRead, do not assume that a dialed connection has been accepted

Previously, TestNotTemporaryRead issued the Read on the Accept side of
the connection, and Close...

ada95e2807abbbab990c5c13a271e823e4e0a5cc authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: enable file shortening for lines starting with \t

Compiler errors now (as of 1.18) might start with a tab character,
for errors which take multipl...

2d1dd4372211f6f9bcdc6a3e4623b5fd10cebdbf authored over 2 years ago by Keith Randall <[email protected]>
doc/go1.18: remove ppc regabi TODO as it's in the compiler section

Updates #47694

Change-Id: I55175988f193fb573339933e9ff0d4c49734b444
Reviewed-on: https://go-rev...

b2cb1bd0f5085adb830e4014142d23d704b71347 authored over 2 years ago by Jeremy Faller <[email protected]>
cmd/gofmt: limit to 200 concurrent file descriptors

Fixes #51164

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

9b773003fb3bf909bfc897787e4d1e54fdb80eca authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: have go work init use the -workfile flag

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

ecf3b39c2a65eb96ca44b9a2694852f12a433747 authored over 2 years ago by Michael Matloob <[email protected]>
net/http: deflake request-not-written path

When we receive an error writing the first byte of a request to a
reused connection, we retry th...

3d7f83612390d913e7e8bb4ffa3dc69c41b3078d authored over 2 years ago by Damien Neil <[email protected]>
go/types, types2: no need to revert tparam renaming in inference results

This is a follow up to CL 385494. In early patch sets of that CL,
renamed type parameters were s...

875a6d40107d560473d1590425a096dd4cee346f authored over 2 years ago by Robert Findley <[email protected]>
spec: highlight missing prose for easier review, fixed a few sections

The (temporary) highlights will make it easier to review the spec
in formatted form as opposed t...

badbc52d82b1f97861bf30457014fc9ea19dfcb2 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: avoid infinitely recursive instantiation

Type inference uses type parameter pointer identity to keep track of the
correspondence between ...

93b5309f0a239ad6a855d698c89731ff73570b47 authored over 2 years ago by Robert Findley <[email protected]>
test: add notinheap test that caused a gofrontend crash

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

16b1893600b4f367c6503b512832dea565f9621b authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: add additional tests using core types during unification

This change adds tests that use a type parameter's core type during
function argument type infer...

5bd734839d9967f48184431b978c2dabb39c8953 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: unify core types for unbound type parameters

NOTE: Should this change cause problems, the new functionality
can be disabled by setting the fl...

f03ab0e0140544abfb10698b9171a91f9dd9c7a5 authored over 2 years ago by Robert Griesemer <[email protected]>
net: send EDNS(0) packet length in DNS query

We used to only accept up to 512 bytes in a DNS packet, per RFC 1035.
Increase the size we accep...

f14ad78e844d7dff286421754c462886336b1eb6 authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: better error message for invalid array length

If an invalid array length is just an identifier, mention
"array length" so that it's clear this...

badba359da9f09dfd75d81c7175b78eb1dbc998f authored over 2 years ago by Robert Griesemer <[email protected]>
[dev.boringcrypto] misc/boring: use go install cmd@latest for installing command

"go get cmd" is deprecated.

Change-Id: I2242764c79b5e4c3ff94e5323d6504b596bdc9e2
Reviewed-on: h...

8521d1ea346212bcdabe15b4e157b3a2f2ca95f4 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile, runtime: use unwrapped PC for goroutine creation tracing

With the switch to the register ABI, we now generate wrapper
functions for go statements in many...

bcee121ae4f67281450280c72399890a3c7a7d5b authored over 2 years ago by Cherry Mui <[email protected]>
runtime: skip TestSegv/SegvInCgo failures with "runtime: unknown pc"

This test has failed on four different builders in the past month.
Moreover, because every Go pr...

0bde2cf5fe1fea62bb0975a7098c55abd8f3da34 authored over 2 years ago by Bryan C. Mills <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

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

b75258fdd827430347cf417ab7caaa43b5dd7df0 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/go: support workspaces in vet

Add modload.InitWorkfile to runVet so that the vet command recognizes
and uses the workspace.

F...

23386b5f675782c7b5929ef13604ca4e147e4197 authored over 2 years ago by Michael Matloob <[email protected]>
runtime: update TestGdbBacktrace skips for known GDB bugs

Fixes #50838

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

0a9d6a31b1e8799e11cb055687fbbe4536590994 authored over 2 years ago by Bryan C. Mills <[email protected]>
spec: combine section on type parameters and type parameter lists

This change moves the relevant prose of the section on type parameters
into the section on type ...

18e1a5a0859a268af83d3bbe855b8bf3b2d25298 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: add a section on implementing an interface

Also, fixed several closing header tags and removed a duplicate "the".
(Thanks to @hopehook and ...

ea9b1f1573736dacb4a6dd3c6e356d55a186ffc9 authored over 2 years ago by Robert Griesemer <[email protected]>
go/doc: mark comparable predeclared

Add comparable to the list of predeclared types.

Fixes golang/go#51141.

Change-Id: I4a2d4e7e56...

f2ec001845c3faaca152550f976a1ca904edce38 authored over 2 years ago by Jonathan Amsterdam <[email protected]>
spec: describe processing of function arguments for type inference more precisely

The outcome of type inference depends critically on when function
argument type inference stops ...

e50f0f372b07149e9cf16b8fec80d2d72efe2a87 authored over 2 years ago by Robert Griesemer <[email protected]>
doc: fix spelling error in link ID

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

9fdcfb7c10b464ffab815892f5fc77d68ed35714 authored over 2 years ago by Kevin Burke <[email protected]>
spec: introduce notion of basic interface, misc. fine-tuning

A basic interface is a classical Go interface containing only
methods or embedding basic interfa...

30501bbef9fcfc9d53e611aaec4d20bb3cdb8ada authored over 2 years ago by Robert Griesemer <[email protected]>
spec: use the term "generic" rather than "(type-)parameterized"

This makes the prose easier to read while being just as precise.

Change-Id: Ie46c6c5042f419de9f...

ca3fae1e0e2a4d7d1a6ba9eeb137d1d0f001e0a6 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: adjust rules to use core or specific types as necessary

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

11788aa6e06155431c346112f7e2725b9b49347b authored over 2 years ago by Robert Griesemer <[email protected]>
abi-internal: Fix typo in register assignment documentation

If register assignment fails, revert back the value to stack

Change-Id: I6f65092461ad4d793206a6...

c4b87b8d08af1243a8ef0add245f10f878879a57 authored over 2 years ago by Suvaditya Sur <[email protected]>
spec: move all sections describing type properties into one place

This change only shuffles sections for better organization; there
are no other changes except ti...

99b61be9f573ca46f4a4160e536abcb62180638a authored over 2 years ago by Robert Griesemer <[email protected]>
spec: document numeric operations behavior for generic types

Includes a few minor cosmetic changes.

Change-Id: I6c307d958b47d83671142688630ea7835168439f
Rev...

3b8c716e0fb897f867cabd2aeeb77b2b8ccd2241 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: mention go.work when local path outside modules in go.work

In workspace mode, if a user lists a package or patternthat's inside a
module that's not listed ...

8ba3ad92ebd38a0d41c96dda7ccb5d650236d3c6 authored over 2 years ago by Michael Matloob <[email protected]>
runtime: make piController much more defensive about overflow

If something goes horribly wrong with the assumptions surrounding a
piController, its internal e...

e4a173adf6ffbd5f46b2bcb3f9eedf661bf2e4d1 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/pprof: remove arbitrary sleeps in TestBlockProfile

The "block" helpers in TestBlockProfile previously slept for an
arbitrary duration and assumed t...

18c2033ba587ce63fc9f2d6f52b8bb2e395c561f authored over 2 years ago by Bryan C. Mills <[email protected]>
regexp/syntax: reject very deeply nested regexps in Parse

The regexp code assumes it can recurse over the structure of
a regexp safely. Go's growable stac...

452f24ae94f38afa3704d4361d91d51218405c0a authored over 2 years ago by Russ Cox <[email protected]>
doc/go1.18: remove some TODOs for changes we aren't mentioning again

These TODOs were originally removed in CL 368794.

Updates #47694

Change-Id: I39d5c0ce5f96adbbc...

656d3f4401e1fdb628e24027cf91cc803c7a0dac authored over 2 years ago by Carlos Amedee <[email protected]>
runtime: simplify histogram buckets considerably

There was an off-by-one error in the time histogram buckets calculation
that caused the linear s...

2e9dcb508647dc473a37ecfa244d2bc4a1843ab4 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
go/types, types2: rename structuralType/String to coreType/String

This is a pure rename of the respective Go functions/methods
with corresponding adjustments to e...

2bf5ae0c28a28244c3e20ef65b75e9e90adb5251 authored over 2 years ago by Robert Griesemer <[email protected]>
syscall: use RLIMIT_CPU instead of RLIMIT_NOFILE

The latter is subject to kern.maxfilelimit restrictions on darwin which
are not reflected in the...

ea3c546e9e2b507d497f8093f8414cb31c112062 authored over 2 years ago by Tamir Duberstein <[email protected]>
go/types, types2: better error messages for append

For #49735.

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

2e2ef31778800856d9db87ad06cc963ef2530eeb authored over 2 years ago by Robert Griesemer <[email protected]>
spec: document behavior of generic type switch cases

Fixes #51110.

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

9867262dfd9b1ba2f212c24dbf26758f81d7cd58 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: the type of a constant cannot be a type parameter

Add corresponding rules and a couple of examples.

Fixes #50202.

Change-Id: I4287b5e2d0fd29a0c8...

20c300bc70e10071bb15091f37a8bb3464cf13e3 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: use "core type" rather than "structural type"

This change in terminology prevents potential confusion
that migth be caused by associating "str...

5d3476c3dbc5e16b680e4b5ceab49c032b1b0a83 authored over 2 years ago by Robert Griesemer <[email protected]>
crypto/aes: fix key size typo

AES-196 does not exist, but AES-192 does.

Signed-off-by: Eric Lagergren <[email protected]...

9ed0d81fb5b2a7e6707010a226b72626433b83d2 authored over 2 years ago by Eric Lagergren <[email protected]>
doc/go1.18: update Go 1.18 release note TODOs using relnote

For #47694.

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

a3aed62512dd5b5239762e8c93a79122a2849a7d authored over 2 years ago by Carlos Amedee <[email protected]>
net: fix a race in TestLookupContextCancel

If the actual DNS lookup in LookupIPAddr completes quickly enough,
it may succeed even if the pa...

846c06d33b55493caa7b49738cb7c85218fa0fd0 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime/debug: replace (*BuildInfo).Marshal methods with Parse and String

Since a String method cannot return an error, escape fields that may
contain unsanitized values,...

9cec77ac11b012283e654b423cf85cf9976bedd9 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: AES maphash scramble 3 times on 386

Issue #43130 shows flaky hash not inbalanced on 386 platform,
which is using AES hashing instead...

be0d049a42ee4b07bfb71acb5e8f7c3d2735049a authored over 2 years ago by Meng Zhuo <[email protected]>
doc/go1.18: document behavior of go/types predicates for extended interfaces

For #47694.

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

255acb0c059268c99e45b693645a256719f3abb2 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/dist: test cgo internal linking on darwin-arm64

CL 383554 disables testing cgo internal linking on all ARM64 but
Windows, because it doesn't wor...

e4ca3fa345a204b72a011b3634ddcfc09dcc68bc authored over 2 years ago by Cherry Mui <[email protected]>
net/smtp: match actual behavior for Auth.Start

Looking at history, it appears to never have worked as documented.

Fixes #48759

Change-Id: I06...

6749dd40b31dbcfae2eb91deb93989899b868617 authored over 2 years ago by Sean Liao <[email protected]>
os: add examples for Mkdir and MkdirAll

Provides example using value for the perm argument that matches the value set by the mkdir comma...

0b7e586e485d4790b240354513acbb8438bb842f authored over 2 years ago by Adrian Hesketh <[email protected]>
go/types, types2: AssertableTo is undefined for generalized interfaces

Document that AssertableTo is undefined (at least for 1.18) if
the first argument is a generaliz...

c5bce7445e1792f134413ad312fd1f2211c0a55d authored over 2 years ago by Robert Griesemer <[email protected]>
runtime: fix an error message in TestCrashDumpsAllThreads

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

0cbe3e00d820a2022d220d0790c0e85eb96de3d1 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: restore old mp.fastrand initialization

CL 337350 changed mp.fastrand from a [2]uint32 to a uint64 and changed
the initialization to a s...

5442f4d51b01fea94159b035ce5b5ca5834487e5 authored over 2 years ago by Ian Lance Taylor <[email protected]>
bytes, strings: mention Cut in docs for Split and SplitN

For #46336

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

540632841e678573885e296db0cb73b15f48f96c authored over 2 years ago by Ian Lance Taylor <[email protected]>
spec: explicitly define integer, floating-point, and complex types

The terms "integer type", "floating-point type", and "complex type"
are used frequently in the s...

3e514a0103a7e335c70104435555229f51e4d9ae authored over 2 years ago by Robert Griesemer <[email protected]>
builtin: clarify that interface types do not implement comparable

Fixes #51083

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

f524a2baa4aca9e603fbf3891951b53b497dc0a1 authored over 2 years ago by Ian Lance Taylor <[email protected]>
runtime: skip TestGdbBacktrace flakes matching a known GDB internal error

TestGdbBacktrace occasionally fails due to a GDB internal error.
We have observed the error on v...

275aedccd4f2beae82dbf96c94a6c1c9b365a647 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: correct doc comment name for OrderedOrEqual

Change-Id: I9ac2565f8d39a30c5f10d924a934441b30e12e98
GitHub-Last-Rev: 6943ac4ac52c29023da59965e5...

1fe8f47cc39aec39fca3e6f367a7c1c7b254014f authored over 2 years ago by pierwill <[email protected]>
cmd/go: remove deleted subdirectories in 'go work use'

Also remove absolute names (relative to PWD) when updating relative
directories, and relative na...

9e0de1fe7b3c977d871496bf0d8f26ae39dfce5c authored over 2 years ago by Bryan C. Mills <[email protected]>