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
go:embed disallows using symlinked files by design.
crypto/elliptic is the first std package to ...
Change-Id: If6b68df0c90464566e68de6807d15f4b8bec6219
74d25c624c01d8deefaf37ee7edb41980d0d5912 authored about 3 years ago
go.dev/cl/339591 changed the code generation to use a constant string,
so that the ~88KiB table ...
Change-Id: I12cad608448ddd17a5da2b1d1209007102d892a7
Reviewed-on: https://go-review.googlesource...
Declare receiver type parameters in the function scope, but don't
resolve them (for now), as ast...
Due to delayed computation of constraint type sets it is possible that
a type argument is checke...
Record the actual argument type for a cap/len call, not the
underlying type.
Fixes #51055.
Cha...
49030c87e02c02f9b3ad812e4d447c4f1e39d745 authored about 3 years ago
For the gofrontend, it's not; there are some trailing one bits,
which is permitted by the spec.
...
Change-Id: I119cfb1a0da9af89ced78935b8fcdfdb8d9b4ab6
Reviewed-on: https://go-review.googlesource...
These tests use a slice to represent the base C compiler command (with
flags). Appending to that...
Change run.go to apply the GO_TEST_TIMEOUT_SCALE scaling factor to
test timeouts (mentioned in "...
The dir argument is already in prefix, we shouldn't add it again.
Change-Id: I42a158bec3a43950f...
334a591a3f4d868368913328b3e81ddf5b0f46fa authored about 3 years ago
The previous workaround for issue #39466 only disabled this test for
Linux. However, the issue m...
The code was updated, the comments were not.
Change-Id: If387779f3abd5e8a1b487fe34c33dcf9ce5fa7...
d588f487703e773ba4a2f0a04f2d4141610bff6b authored about 3 years ago
Further simplify and regularize Checker.missingMethod and use the
same code in both type checker...
Remove special case where we don't have a *Checker and always use
Checker.missingMethodReason in...
- Remove the xtyp argument from the Checker.typeAssertion parameter
list; it was confusing and...
Added a funcString helper so we don't need to rewrite strings
with strings.Replace.
Use compile...
ef843ae49c8a8ad6494da294fc46b0e80147e715 authored about 3 years ago
Because Checker.missingMethod also looks up methods matching
matching case-folded names, when Ch...
There is no need to check for length equality of type parameter
lists in Checker.missingMethod: ...
types2 has some code to handle case-folding when doing method lookups
which was missing in go/ty...
Fixes #50965.
Change-Id: I61a74bdb46cf5e72ab94dbe8bd114704282b6211
Reviewed-on: https://go-revi...
Refactor Checker.comparison such that its logic is easier to reason
about and so that special ca...
Fixes #51023
Change-Id: I7dd9f7c696e15ba9c6c887d4c4e0f4d281a82b17
Reviewed-on: https://go-revie...
Change-Id: I3f5ee9629b0b0f3f29a021a656dbf3bca27e582d
Reviewed-on: https://go-review.googlesource...
In bespoke build environments default libraries may be specificied with
LIBRARY_PATH, C_INCLUDE_...
Fixes #51008
Change-Id: I5e47c7be59d4aae1d5059d99231422212cffa23a
Reviewed-on: https://go-revie...
Change-Id: Ibf51c0687197c0d791916b21cba7f8408aa5300a
Reviewed-on: https://go-review.googlesource...
The go/parser package is updated to report an error on method type
parameters, and to not store ...
Change-Id: Ifdb4f4f4fab8d45847ca525198b3960f87799f0c
Reviewed-on: https://go-review.googlesource...
GCC 9 warns about a change in the ABI of passing structs with bitfields,
but we don't care.
Fix...
248ad855b7d0e49839b7b4281d9e60e222368583 authored about 3 years agoFixes #48171
Change-Id: Ia2e1920c0938a1f8659935a4f725a7e5090ef2c0
Reviewed-on: https://go-revie...
Change-Id: I18dbf4f9fa7e2334fccedd862a523126cf38164e
e14fee553a4646d15123caa04f7ca6ddb7b48362 authored about 3 years agoFixes #50993
Change-Id: I5f1bf5a8375c3da3203083b11de26962523ccb36
Reviewed-on: https://go-revie...
Thanks to Guido Vranken for reporting this issue.
Fixes #50974
Fixes CVE-2022-23806
Change-Id:...
7f9494c277a471f6f47f4af3036285c0b1419816 authored about 3 years ago
Change-Id: If3e835e868ae695ba232b57096c135ce2e73305b
Reviewed-on: https://go-review.googlesource...
Add a regression test for issue 50936 which coerces the runtime into
frequent execution of the c...
This failure mode has been present since at least 2020-06-08. We have
enough information to diag...
Since at least CL 121857, the conversion logic in
(*modfetch).codeRepo.Stat has had a short-circ...
In the 2nd phase of function argument type inference we only
consider parameters with types that...
Looking at the condition actually exercised by the test it seems
unnecessary: assuming that the ...
Otherwise, the failure mode for these subcommands refers to an empty file path:
go: open : no s...
Fixes #50958
Change-Id: I25b4f34bea7705525217296471ce97e6a2ab99f6
Reviewed-on: https://go-revie...
Fixes #50950
Change-Id: Iea94dba6e57d7e7985d4ae06a9b59ad126568599
Reviewed-on: https://go-revie...
It has moved to golang.org/x/exp/constraints. Perhaps it will move
back to the standard library ...
crypto/ecdsa was long overdue a cleanup. Bump the FIPS 186 version, and
make sure we consistentl...
Updates #45428
Updates #41682
Change-Id: I811bc4f8ec8de6b6db6a2917e265a72134a05e78
Reviewed-on:...
CL 339669 changed freedefer to not mention every field of _defer,
so no need to call it out in t...
Add a panicAtUnificationDepthLimit const to replace the use of the debug
const to control whethe...
Make some small edits for clarification of important concepts.
Change-Id: I1f78f2a59489ac71e394...
edbe4742a296239c06cd99721bb0dbc5008d35a1 authored about 3 years ago
Change-Id: I9fc12f352d57db776d176990277e104f64f9908d
Reviewed-on: https://go-review.googlesource...
Fixes #46840
Change-Id: Icc5475e312003e316dc039413a35089485163ba6
Reviewed-on: https://go-revie...
For #50892
Change-Id: I14ff1c43b39687a0ba5e668ee962cecfb49e4beb
Reviewed-on: https://go-review....
We had been statting 'dir' instead of 'absDir', which statted the
wrong directory if 'dir' was m...
Change-Id: I0314c2e9073b162119060a23c5eee9a78ca08ebf
Reviewed-on: https://go-review.googlesource...
For #47694.
For #50954.
Change-Id: I3789e145d64025fe2bf787fa5d01a21832903586
Reviewed-on: https...
For #47694.
For #50912.
For #50937.
Change-Id: I3fae6c8dbbd61a45e669b8fb0c18ac76f2183963
Review...
This makes the error case pointed out in the issue like the current
message in Go 1.17 or -G=0 m...
When loading the corpus, if the cache contained an entry which was a
duplicate of an entry added...
Fixes #50945
Change-Id: Ib6251a5be09f4c6ba428ef4c97fe23ebffca3506
Reviewed-on: https://go-revie...
For #50646.
Fixes #50791.
Change-Id: I8fec25ae3f0280c5b5a778011d23842b886ba79e
Reviewed-on: htt...
We can type-check these fine but the API implications are unclear.
Fixes #50912.
For #50937.
C...
4fea5935f5f03b5037c792f8d5f5aa4cba90f1d6 authored about 3 years agoFixes #50929.
Change-Id: I65b8eaf5e4b423839bc53c7b1db3679961498c8a
Reviewed-on: https://go-revi...
For #45713
Change-Id: Ia55a96702b99cccaf5d96c2125ee513700658444
Reviewed-on: https://go-review....
This reverts commit CL 358900.
Adding _TraceJumpStack to cgo traceback exposed a crashing condi...
822dbcb7d4b7ab2410bdc19355a0bff99c3c467e authored about 3 years ago
Change-Id: I5cd980a7c825619cc782a3bca2a1c9c7971fdca2
GitHub-Last-Rev: 6833eedf2dab77f7263f980383...
- Use the correct predicate in Checker.implements: for interfaces
we cannot use the API Compar...
The configuration set by x/build/cmd/releasebot causes runtime/cgo to
be stale in the darwin/amd...
Fixes #48907
Change-Id: I504f846fc2ea655ba00aedb30f90847f938c347c
Reviewed-on: https://go-revie...
For #46784
For #47694
For #50685
Change-Id: I5351b56722d036a520d1a598ef7af95c5eb44c35
Reviewed-...
Fixes #50402
Change-Id: Ic539afc1aef3906ef591b403eba0fde20a5ccef2
Reviewed-on: https://go-revie...
For #45713
For #47694
Change-Id: I6f615c07749fca49c19f2ae22f79971c29aa8183
Reviewed-on: https:/...
This method is unused and was not discussed in the API
proposals. Note that all error output goe...
Where we provide it we take it from the Checker (which is already
passed in). Thus there's no ne...
Now that we have the detailed error reporting in Checker.implements
we don't need it anymore in ...
This CL copies (and adjusts as needed) the logic for error reporting
from operand.assignableTo t...
Change-Id: Ic338788d6410ed0d09ad129811377ee9ce5ed496
Reviewed-on: https://go-review.googlesource...
This patch reworks the handling of the DWARF DW_AT_bit_offset and
DW_AT_data_bit_offset attribut...
Change-Id: Ia324c6185e36efd4ea7dc92d7c2233fec8f5a55f
Reviewed-on: https://go-review.googlesource...
Credit to rsc@ for the original patch.
Thanks to the OSS-Fuzz project for discovering this
issu...
Interface method receivers are synthetic: they record either the
interface type or the the defin...
For a composite literal expression like []T{{f: 1}}, we allow T to be
a pointer to struct type, ...
These can go wrong when one of the operands is the minimum integer value.
Fixes #50854.
Change...
b7b44b3173f151a2313da7072afd25de80511605 authored about 3 years ago
Adds an addCorpusEntry method to coordinator which manages checking for
duplicate entries, writi...
Add a missing shape check in (*Tsubster).tinter when substituting on a
generic type which is an ...
This CL updates unified IR to look at the structural type of a
composite literal type, rather th...
This reverts CL 380854.
Per the conluding discussions on #50791. A follow-up will
document `com...
Follow-up on CL 380754.
For #50791.
Change-Id: Ia2f8f9785c2f02647525e7ee4168991fd4066dd3
Revie...
For #50791.
Change-Id: Ib12009d2895146e55ec3a51aa8ceafe58dfd82a5
Reviewed-on: https://go-review...
It was already noted in text/template; copied from there.
Change-Id: Ie749d04004af60f2333073ddf...
c8b0dcea4a3e67289ccf985b10616200817cca86 authored about 3 years ago
This method isn't available in go/types, and its use by unified IR is
non-essential. This CL ref...
'go list' has its own internal parallelism, so invoking in in parallel
can produce up to quadrat...
For #50791.
Change-Id: I7f135bb6626128a3cee9fd71c57535c1fc83ac7f
Reviewed-on: https://go-review...
Use "hgdate" since the strftime filter is unsupported by Mercurial under
Windows.
Fixes #49841
...
C archives for packages in GOROOT are shipped along with binary
releases of the Go toolchain. Al...
The test previously checked that the DWARF DW_AT_comp_dir attribute
matched GOROOT_FINAL. Howeve...
Mercurial was deprecated as of July 1, 2020 as per https://bitbucket.org/blog/sunsetting-mercuri...
5b1b80beb1a2a9a353738e80777d1e25cfdfa095 authored about 3 years agoFor #50183
Change-Id: Ie384333fb7a69d0d2cfaba0cfc4eb7afba2fd745
Reviewed-on: https://go-review....
Update the vendored x/tools to pick up CL 380014, which updates the
ifaceassert vet analyzer to ...
For #50646.
Change-Id: I7420545556e0df2659836364a62ce2c32ad7a8b1
Reviewed-on: https://go-review...