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
Using type aliases, it's possible to create structs with embedded
fields that have no correspond...
The failure mode in #37794 does not match the failure mode described
in #18784. However, since t...
Finally figured out how to deal with the interaction between generics
and inlining. The problem ...
Currently TestCPUProfileMultithreadMagnitude runs two CPU consumption
functions in a single prof...
When an http.FileServer is given a path like file1/file2 where file1
exists but file2 does not, ...
Fixes #48712.
Change-Id: I6f214cdfdd1815493f2a04828e8f0097f1d8c124
Reviewed-on: https://go-revi...
Upgrade the test certificate from RSA 1024 (not FIPS-approved)
to RSA 2048 (FIPS-approved), allo...
The VDSO (__kernel_vsyscall) is reachable via
asmcgocall(cgo_start_thread) on linux-386, which c...
Similarly to what we do for the built-in function `copy`,
where we allow a string as 2nd argumen...
ReadDirent returns only as many directory entries as will fit in the
buffer, and each entry is v...
types2 allows the conversion of a slice of a user-defined byte type B
(not builtin uint8 or byte...
For #47694.
Change-Id: I00862f987a0ff9f71e0295ce4320e6f9a6a4332f
Reviewed-on: https://go-review...
CL 352870 added extra phase for instantiation after inlining, to take
care of the new fully-inst...
Since a SECURITY.md file is present in the main Go repository,
GitHub already shows a "Report a ...
For #50481.
Change-Id: I27e6c6499d6abfea6e215d8aedbdd5074ff88291
Reviewed-on: https://go-review...
Problem pointed out on golang-nuts mailing list.
Change-Id: If1c9b22e1ed7b4ec7ebcaadc80fa450333...
40afced8d74a58d66a4f0201c21eb187e50bf325 authored about 3 years ago
The release notes explicitly refer to sections updated
for generics in the spec but then point t...
For #50317.
Change-Id: I24ccf333c380283a36b573ef8fc3e7fcd71bd17f
Reviewed-on: https://go-review...
For #50417.
Change-Id: Ic55727c454ec342354f7fbffd22aa350e0d392c2
Reviewed-on: https://go-review...
Rat maintains the invariant that x.b.neg is always false,
but Rat.Denom was writing x.b.neg = fa...
Work-around for #50481: report an error for multiple
blank type parameters. It's always possible...
Move switch to enable method type parameters entirely
to the parser, by adding the mode AllowMet...
The c.startParallel channel on the testContext is stuck
in t.Parallel() because c.running starts...
This change implements field the access p.f where the type of p
is a type parameter with a struc...
The underlying type of a type parameter is an interface,
so we don't need a special case for typ...
Do this by running verification for instantiated signatures
later, after the delayed type parame...
This test is observed to be flaky on the plan9-arm builder.
Skip it on that platform until it ca...
For #50439
Change-Id: Ifad6e6f8de42121c695b5a4dc56e0f6606e2917e
Reviewed-on: https://go-review....
As a result of the change to the underlying of a type parameter to be
its constraint interface, ...
Fixes #50372.
Change-Id: I8e4c0020dae42744cce016433e398e0b884bb044
Reviewed-on: https://go-revi...
The arbitrary sleep in this test is empirically not always long enough
on slower builders. Howev...
Instead of exiting with status 16962 when we fail to call SYS_setcontext
in sigreturn, reference...
The change clarifies in the release notes for go1.18 that the variable
is for compilation and re...
Adds a test script for fuzzing coverage instrumentation.
Fixes #48654
Change-Id: Ieea7b4146bd5...
2b39d86344608423138b648b98157470d3809ee7 authored about 3 years ago
These tests are empirically flaky on the windows/arm and windows/arm64
builders, with a consiste...
The function asmsyscall6 must follow AIX stack layout. It means
that its first local variable mu...
The asan runtime functions may run on stacks that cannot grow, and
they do not have large local ...
The code looks like it was already trying to avoid this but missed a
spot.
Fixes #50271.
Chang...
301db3f5d2d38a13aafe5bc6efea9a3bdbfc475e authored about 3 years ago
In the dict info, we need to save the SelectorExpr of a generic method
call when making its sub-...
Since we use existing instantiations from the symbol table when possible
(to make sure each inst...
For #47694
Change-Id: I00da9bd39700e938ec492daa71aba2035d911a06
Reviewed-on: https://go-review....
A receiver expression for a type with parameters may be an IndexExpr
or IndexListExpr in additio...
Change the Test function to use sub-tests for each doc mode and
package.
This will allow more f...
a893d0f464e15f72d5f01937bed5011098adbb7b authored about 3 years ago
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and
darwin/arm64 was repurposed for ...
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and
darwin/arm64 was repurposed for ...
It appears that GCC before version 10 doesn't report file/line
location for asan errors.
Change...
6178d25fc0b28724b1b5aec2b1b74fc06d9294c7 authored about 3 years ago
Change-Id: Ic05c641bda3cc8f5292921c9b0c0d3df34f3bc48
Reviewed-on: https://go-review.googlesource...
The current -asan option does not print where the error occurred. The
reason is that the current...
The riscv64 Hifive Unmatched is the only platform that
failed on testcase TestAnalyzeAnnotations...
For #37475
For #47694
Change-Id: If8c1f1b756daf32648110f1a669b2ea60f797a24
Reviewed-on: https:/...
For #47694
For #48052
Change-Id: I136be9b498033309d876099aae16bad330555416
Reviewed-on: https:/...
We added a workaround in runtime/race. This should not be
necessary now.
Updates #49138.
Chang...
af3b8cf5026a9d74a53ac5d3fec2bba35a96ad91 authored about 3 years agoREADME.md -> HACKING.md
Change-Id: I63909b86b2e6f8d9a34622f5d2b05048c79cd698
GitHub-Last-Rev: a...
For #47694
Sorry about that! I guess the autocompleter in VSCode auto-closed the paragraph and ...
d2ce93960448559a7cb5685661502d8fc0c2ebc1 authored about 3 years ago
In c-archive mode, when we turn off profiling, we restore the
previous handler for SIGPROF, and...
For #46518
For #47694
Change-Id: I4848556674baf85ceec350645d9eddcd83f1b2e0
Reviewed-on: https:/...
For #47694
Change-Id: I27d88d864319bd8dbabfa6675a6abf2f74c50717
Reviewed-on: https://go-review....
For #20531
For #47694
Change-Id: Iaefaa0a8982eabf59cd6a53120c8af9124d60d1a
Reviewed-on: https:/...
For #47694
Change-Id: Ifab2c2720ec2ccef175a0e14a95f8df0437eb009
GitHub-Last-Rev: f3c2f12c7b6472...
This test works on FreeBSD since CL 165801 was submitted.
Updates #19093
Change-Id: I45ffeb403...
3fb17cfd17108c0c49d8a58cf25610fe5c84755a authored about 3 years ago
For #47694
For #47916
Change-Id: Ieeffaf161da744adfdb4da8aac58a64c109ebcab
Reviewed-on: https:/...
Fixes #49678
Change-Id: I47dd959a787180a67856e60dfa6eba3ddd045972
Reviewed-on: https://go-revie...
For #47694
Change-Id: I9f4838100741d3ba13e9374e70466fa405c6e4d2
Reviewed-on: https://go-review....
Fixes #50295
Change-Id: If55ebcd5f2af724da7c9c744458a56d21a7ddde7
Reviewed-on: https://go-revie...
Fix it to avoid misunderstanding.
Change-Id: I2a09cb9edfa8077c5c0c35e07000c0c7dc72755e
GitHub-L...
The links to this example were using an underscore separator
instead of a hyphen, and incorrect ...
Change-Id: I213fa8aa9b9c2537a189677394ddd30c62312518
GitHub-Last-Rev: ccafdee9440b06232cdfca8309...
The test checks RUNTIME_TESTING_SHORT, whereas the test runner
actually set RUNTIME_TEST_SHORT. ...
This is a pretty straight port of the fuzz test at https://github.com/inetaf/netaddr.
The Marsh...
15550625c3140efce8ea1d7d3193ec4c563eb117 authored about 3 years agoFixes #50256
Change-Id: I2327a0b28f8173c801ed2946bec8083967667027
Reviewed-on: https://go-revie...
Change-Id: Icedd0c3d49259d5aee249ecb33374e9b78e0c275
Reviewed-on: https://go-review.googlesource...
This is similar to CL 207350, for RISCV64.
May fix #50263.
Updates #35470.
Change-Id: I0d39e19...
59d04d104d9e08322712e837b35f4cd54c9bae1a authored about 3 years ago
This is a port of CL 372674 from types2 to go/types with
minor adjustments for error handling.
...
7c94355b738170cf06484d502af7f2d935831c2b authored about 3 years agoFixes #49112.
Change-Id: I8effbca7bcbb257b18fd4d3d1914fd10d4afaaae
Reviewed-on: https://go-revi...
Change-Id: I5019d5b9520e47a99a6136f615b6c9468073cc3c
GitHub-Last-Rev: 1a5392925a0c4e9b2915620fee...
When building/using plugins on darwin, we need to use flat
namespace so the same symbol from the...
For #47694
Change-Id: I9af871a4a45b002e72629904011aac8f076617f1
Reviewed-on: https://go-review....
The new description matches the implementation (CL 370774).
Also, in the section on type constr...
3c495839fe6e711b9161f8efc2d1bd474bf60916 authored about 3 years agoFor #49602.
Change-Id: I0d3ff8f087dffb3409918494147fd1dceff7514d
Reviewed-on: https://go-review...
The "someTimeout" constant in the net test is “just to test that
net.Conn implementations don't ...
For #42061
Change-Id: I3b4c774ad9e375d4bfef1cfb4336c35ed30a6430
Reviewed-on: https://go-review....
For #48712.
Change-Id: I1596fe8688f093e0e92cf5b8d5501aac8631324e
Reviewed-on: https://go-review...
Fixes #49602.
Change-Id: I3499f8a485a2c8ec8afc74c5ef7b20d42c943a05
Reviewed-on: https://go-revi...
The parser cannot distinguish a type parameter list of the form
[P *T ] or
[P (T)]
where T is ...
33a1a93a92804205eca89e2bb113ca68c1de5a4f authored about 3 years ago
Change-Id: If28cc02a5a6f9bf2c7f2550de77ca0b31c1b35ee
Reviewed-on: https://go-review.googlesource...
We have code that intends to avoid escaping the package path for
built-in packages. But it is ha...
When a user has showSignature=true set in their Git config and the
commit in question has a sign...
Also check that executables exist immediately after building them
in parallel tests.
The parall...
d01cd8fa1dc6110cbb301fd711fe43ea744cb5c9 authored about 3 years ago
It is observed to be flaky on the only openbsd/arm builder.
Skipping on that platform until some...
Updates #50205
Change-Id: I60d2e32c2cd84599f4a0126e4da4f1d61bd29b51
Reviewed-on: https://go-rev...
To make sure that we properly pull in everything in all, because
different main modules can inte...
Fixes #50208
Change-Id: Ib0aff56341adb98ff6831c5badd1603ebf002b79
Reviewed-on: https://go-revie...
The imported code is already typechecked. NodAddrAt typechecks its
argument, which is unnecessar...
Generic instantiations can produce conversions from constant
literal ints or floats to complex v...
Thanks to the simpler test case for issue 50109. I'm keeping the old
test case in place, since i...
Decrease the slop everywhere else, since NetBSD and OpenBSD seem to be
the only ones that miss b...
For #50191
Change-Id: Ic1059127e756d69ea9b75cf5805669ec43fedd5c
Reviewed-on: https://go-review....
This is a port of CL 371757 from go/types to types2, with
minor adjustments for different error ...
This is a port of CL 371756 from go/types to types2 with
minor adjustments due to different erro...
The builtin "any" type should only be identical to an unnamed empty
interface type, not a define...