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
We changed to delaying all transforms of generic functions, since there
are so many complicated ...
For #47694.
Change-Id: Ib49145a58b8388d35267cf4b0caa730d7e436d06
Reviewed-on: https://go-review...
Change-Id: I234ae7988fd3c7a41c08e72664f8db811eb23bb1
Reviewed-on: https://go-review.googlesource...
Instead, report a suitable error.
Fixes #51335.
Change-Id: Ifce90cb7487b1e99c6b4221c0d43bacc0c...
78e99761fc4bf1f5370f912b8a4594789c2f09f8 authored almost 3 years ago
Use a cleanup method and simple registration mechanism
for types that need some final processing...
A type implements a comparable interface only if the type
is statically known to be comparable. ...
CL 374294 made our check for incorrect type parameters constraints
eager, but failed to remove t...
Change-Id: Id29f352c8d2e61672f55294120058b1f585f7aeb
Reviewed-on: https://go-review.googlesource...
There is code in the wild that copies the Buffers slice,
but not the contents.
Let's document ex...
The tag was "go-mod-vendor", which doesn't match the content.
Also move that section later, so ...
3140625606f83328a5c7754fd952ed8d52a76404 authored almost 3 years ago
As documented in #51209, we have been seeing a low-rate failure
on macOS builders caused by spur...
Updates #47694
Change-Id: I6c1c3698fdd55fe83c756f28776d1d26dba0a9df
Reviewed-on: https://go-rev...
When encoding a xml attribute is zero value (IsValid == false), we need
a `continue` to jump ove...
Change-Id: If3d5884d9f3f32606c510af5597529b832a8f4a9
Reviewed-on: https://go-review.googlesource...
sed 's/the/that/g'
Change-Id: I3f539817b055d54b0ec99346555ac91b756d9ed6
GitHub-Last-Rev: 2e7df1...
Remove unnecessary whitespace in noescape comment
Fixes #50634
Change-Id: I1c8d16c020b05678577...
e002cf4df7fcd9925916ed78df7ed2a49031ed2e authored almost 3 years agoFor #44505 and #41184.
Change-Id: I9503292dace1aa60de167ca5807bf131554465b9
Reviewed-on: https:...
To avoid nosplit overflow in -race -N -l build.
For #51247.
Change-Id: I48426bbd4adefd18eaf26e...
d27248c52f8545aa3c3de07e3d2568da5c5df785 authored almost 3 years ago
They are called from compiler instrumented code as ABIInternal.
Define them as ABIInternal to av...
Save some stack space, to avoid nosplit overflow in
-race -N -l build.
For #51247.
Change-Id: ...
20b177268fe6d5711a104e5fcd09b7b1ad6a561b authored almost 3 years ago
The code for issue #51219 reveals bugs in the types1 and types2
importers that can occur for rec...
The test spawned a subprocess that arbitrarily slept for one second.
However, on some platforms,...
Prior to CL 339170, relative errors in module mode resulted in a
base.Fatalf from the module loa...
Replace the WAIT query prefix with a function callback.
This fixes timing issues when the testin...
Otherwise, the behavior of a fuzz target that returns an error could
be confusing.
Fuzz is alre...
f985833dec19b0147db3c5c33d3bf0181891d458 authored almost 3 years ago
This change removes the -workfile flag and allows the go.work file path
to be set using GOWORK (...
For #48685
Fixes #50806
Change-Id: Ie8be40e5794c0998538890a651ef8ec92cb72d3a
Reviewed-on: https...
The existing value of 512 bytes as is specified by RFC 1035.
However, the WSL resolver reportedl...
This reverts https://go.dev/cl/385035. For 1.18 we will use a simple
change to increase the acce...
Fixes #51204
Change-Id: I41106b7d04120be5ba68573bd25fd33e985688de
Reviewed-on: https://go-revie...
The go modules download command has a method called hashZip which checks the
hash of a zipped di...
CL 383434 forgot to enable these paths for android, which is still linux
just not via GOOS.
Fix...
b5af5c0834a57751fae78fefc922f5e9f5b50941 authored almost 3 years ago
In issue 50113, we see that a thread blocked in a system call can result
in a hang of AllThreads...
Add a generic syscall package for use by the runtime. Eventually we'd
like to clean up system ca...
syscall_runtime_doAllThreadsSyscall is only used on Linux. In
preparation of a follow-up CL that...
Add tests that verify consistent behavior of go/types and types2 with
respect to potentially amb...
This is a port of CL 370774 to go/parser and go/printer. It is adjusted
for the slightly differe...
When line number saturates, we can end up getting non-monotonic
position info, because the start...
Pointer comparison is lowered to the following on RISCV64
(EqPtr x y) => (SEQZ (SUB <x.Type> x ...
1ed30ca537a05b887f8479027b6363a03f957610 authored about 3 years ago
Previously, TestNotTemporaryRead issued the Read on the Accept side of
the connection, and Close...
Compiler errors now (as of 1.18) might start with a tab character,
for errors which take multipl...
Updates #47694
Change-Id: I55175988f193fb573339933e9ff0d4c49734b444
Reviewed-on: https://go-rev...
Fixes #51164
Change-Id: Ia62723df7dc2af5ace3f2430385fff6c0d35cdb9
Reviewed-on: https://go-revie...
Change-Id: Idb4795bde699c919222953ec33fa1083798b2000
Reviewed-on: https://go-review.googlesource...
When we receive an error writing the first byte of a request to a
reused connection, we retry th...
This is a follow up to CL 385494. In early patch sets of that CL,
renamed type parameters were s...
The (temporary) highlights will make it easier to review the spec
in formatted form as opposed t...
Type inference uses type parameter pointer identity to keep track of the
correspondence between ...
Change-Id: Ie949f2131845f9f9292caff798f6933648779122
Reviewed-on: https://go-review.googlesource...
This change adds tests that use a type parameter's core type during
function argument type infer...
NOTE: Should this change cause problems, the new functionality
can be disabled by setting the fl...
We used to only accept up to 512 bytes in a DNS packet, per RFC 1035.
Increase the size we accep...
If an invalid array length is just an identifier, mention
"array length" so that it's clear this...
"go get cmd" is deprecated.
Change-Id: I2242764c79b5e4c3ff94e5323d6504b596bdc9e2
Reviewed-on: h...
With the switch to the register ABI, we now generate wrapper
functions for go statements in many...
This test has failed on four different builders in the past month.
Moreover, because every Go pr...
Change-Id: I45aaa71d277ba626f7a51c5b00f6a3064c81d02c
Reviewed-on: https://go-review.googlesource...
Add modload.InitWorkfile to runVet so that the vet command recognizes
and uses the workspace.
F...
23386b5f675782c7b5929ef13604ca4e147e4197 authored about 3 years agoFixes #50838
Change-Id: Ib7e7563cd63d85a508984e4162eda38232b250d3
Reviewed-on: https://go-revie...
This change moves the relevant prose of the section on type parameters
into the section on type ...
Also, fixed several closing header tags and removed a duplicate "the".
(Thanks to @hopehook and ...
Add comparable to the list of predeclared types.
Fixes golang/go#51141.
Change-Id: I4a2d4e7e56...
f2ec001845c3faaca152550f976a1ca904edce38 authored about 3 years ago
The outcome of type inference depends critically on when function
argument type inference stops ...
Change-Id: I6de236442f213ab4b4f19ec881add4923d8bfd8d
Reviewed-on: https://go-review.googlesource...
A basic interface is a classical Go interface containing only
methods or embedding basic interfa...
This makes the prose easier to read while being just as precise.
Change-Id: Ie46c6c5042f419de9f...
ca3fae1e0e2a4d7d1a6ba9eeb137d1d0f001e0a6 authored about 3 years ago
Change-Id: I64280c1bb9608d7781514f237ac70c6abbfde9f6
Reviewed-on: https://go-review.googlesource...
If register assignment fails, revert back the value to stack
Change-Id: I6f65092461ad4d793206a6...
c4b87b8d08af1243a8ef0add245f10f878879a57 authored about 3 years ago
This change only shuffles sections for better organization; there
are no other changes except ti...
Includes a few minor cosmetic changes.
Change-Id: I6c307d958b47d83671142688630ea7835168439f
Rev...
In workspace mode, if a user lists a package or patternthat's inside a
module that's not listed ...
If something goes horribly wrong with the assumptions surrounding a
piController, its internal e...
The "block" helpers in TestBlockProfile previously slept for an
arbitrary duration and assumed t...
The regexp code assumes it can recurse over the structure of
a regexp safely. Go's growable stac...
These TODOs were originally removed in CL 368794.
Updates #47694
Change-Id: I39d5c0ce5f96adbbc...
656d3f4401e1fdb628e24027cf91cc803c7a0dac authored about 3 years ago
There was an off-by-one error in the time histogram buckets calculation
that caused the linear s...
This is a pure rename of the respective Go functions/methods
with corresponding adjustments to e...
The latter is subject to kern.maxfilelimit restrictions on darwin which
are not reflected in the...
For #49735.
Change-Id: Ib7343061dca0e8d848e0719d39be0393d7cfad93
Reviewed-on: https://go-review...
Fixes #51110.
Change-Id: I11370417f1ef435b05dfab18eeabc2c3c1b7b8a1
Reviewed-on: https://go-revi...
Add corresponding rules and a couple of examples.
Fixes #50202.
Change-Id: I4287b5e2d0fd29a0c8...
20c300bc70e10071bb15091f37a8bb3464cf13e3 authored about 3 years ago
This change in terminology prevents potential confusion
that migth be caused by associating "str...
AES-196 does not exist, but AES-192 does.
Signed-off-by: Eric Lagergren <[email protected]...
9ed0d81fb5b2a7e6707010a226b72626433b83d2 authored about 3 years agoFor #47694.
Change-Id: I5f6850e171f574a5342671778df854dc68a5148f
Reviewed-on: https://go-review...
If the actual DNS lookup in LookupIPAddr completes quickly enough,
it may succeed even if the pa...
Since a String method cannot return an error, escape fields that may
contain unsanitized values,...
Issue #43130 shows flaky hash not inbalanced on 386 platform,
which is using AES hashing instead...
For #47694.
Change-Id: Ic27193b65ef4b3c0c932107b8731b5f8d3190ad5
Reviewed-on: https://go-review...
CL 383554 disables testing cgo internal linking on all ARM64 but
Windows, because it doesn't wor...
Looking at history, it appears to never have worked as documented.
Fixes #48759
Change-Id: I06...
6749dd40b31dbcfae2eb91deb93989899b868617 authored about 3 years agoProvides example using value for the perm argument that matches the value set by the mkdir comma...
0b7e586e485d4790b240354513acbb8438bb842f authored about 3 years ago
Document that AssertableTo is undefined (at least for 1.18) if
the first argument is a generaliz...
Change-Id: I04962c836fd448378b8bf071ba848f3b24253dce
Reviewed-on: https://go-review.googlesource...
CL 337350 changed mp.fastrand from a [2]uint32 to a uint64 and changed
the initialization to a s...
For #46336
Change-Id: Idc23302085e14e24d571f5995d6d33ca964a0021
Reviewed-on: https://go-review....
The terms "integer type", "floating-point type", and "complex type"
are used frequently in the s...
Fixes #51083
Change-Id: Ic9207ae4104b06749925186e0eb4f18edf1b5007
Reviewed-on: https://go-revie...
TestGdbBacktrace occasionally fails due to a GDB internal error.
We have observed the error on v...
Change-Id: I9ac2565f8d39a30c5f10d924a934441b30e12e98
GitHub-Last-Rev: 6943ac4ac52c29023da59965e5...
Also remove absolute names (relative to PWD) when updating relative
directories, and relative na...