Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Hackpad
We strive for making code editing in the browser a powerful, streamlined experience.
Collective -
Host: opensource -
https://opencollective.com/hackpad
- Website: https://hackpad.org
- Code: https://github.com/hack-pad
Users can re-use a type checking context by passing it via types.Config.
There is no need for us...
The interface type string preserves certain non-semantic attributes of
the type, such as embedde...
Type parameter names don't matter for the purposes of generic type
identity, so mask them with n...
Extend the type checking context to allow de-duplicating *Signature
instances, in addition to *N...
Added/clarified some comments.
Change-Id: Ib08d3343ff08c23cc8880a27a0148d1ff077a80f
Reviewed-on...
In the few remaining places where we use asNamed, if the argument
is indeed a *Named, we either ...
Reviewed the code and simplified slightly. No semantic changes.
Change-Id: Ib785b912fbee9774632...
github.com/hack-pad/go - 56e55a388986ed9c770a21e9c58df38e021b577b authored about 3 years ago
This CL enables the mode in which the underlying type of
type parameters is the underlying type ...
Until now, the type checker operated with the definition that the
underlying type of a type para...
Server handlers may set a "Transfer-Encoding: identity" header on
responses to disable chunking,...
For #45713, #48257
Change-Id: I7e9248f22fe7ab33b151e07cc296d64c194154e2
Reviewed-on: https://go...
Reviewed all uses of underIs (global function and method) and made
sure we are ok with a nil inc...
When being used by the compiler, augment the types2 missing method
message with extra info, if a...
When being used by the compiler, fix up types2 error messages to be more
like Go 1.17 compiler e...
By default, use workspace modules' go.sum files to check sums. Any
missing sums will still be wr...
Change-Id: I98751d0b2d8aefcf537b6d5200d0b52ffacf1105
Reviewed-on: https://go-review.googlesource...
Because we do not permit a stand-alone type parameter on the RHS of
a type declaration, the unde...
Like the VDSO, we cannot directly traceback from the Linux kernel ARM
atomic/barrier helpers. Ho...
When sending a Request with a non-context deadline, we create a
context with a timeout. This con...
The Linux kernel starting in 5.9 and fixed in 5.16 has a bug that can
break CPU timer signal del...
the CgoPprof tests currently assume that calls to their cgoTraceback
functions are primarily for...
Like OFUNCINST, in case of OXDOT call expression, the arguments need
to be transformed earlier, ...
This change sets a timeout of 10 seconds on each
execution of the fuzz target, both during fuzzi...
Context.TypeHash is not being used outside of the type checker, so
unexport it.
The TypeHash me...
github.com/hack-pad/go - 8b66b3d49f931715c52b4ed71bc1dc935132c30f authored about 3 years ago
The special handling for *Named types is not necessary. The hash of an
instance is simply the ha...
In preparation for storing *Signature types in Context, refactor the
type map to not depend on t...
We don't have guarantees that our type hash is perfect, and in fact
fuzzing found cases where id...
Currently the recover4 test, which recovers from a panic created from a
fault, generates a fault...
When register ABI is used, reflect.Value.Call prepares the call
arguments in a memory representa...
When the link exits on error it currently calls Out.Close, which
will munmap the output buffer a...
Fixes #49023
Change-Id: I3de70f8a25f4ba8a0fb8bb96581371e33fde2f7a
GitHub-Last-Rev: b7ec9405adc7...
Change-Id: I2f3619aa827e18f356871511c20cf2c712f496b3
Reviewed-on: https://go-review.googlesource...
This change doesn't modify any functionality.
It also doesn't update all of the comments and
var...
Also, don't set the scope anymore when instantiating (substituting)
a signature.
Per discussion...
github.com/hack-pad/go - ccd41cc05e3ee2f0d0ded1d7faf9c1f43ce1037b authored about 3 years ago
Our compiler gets confused between functions that were declared
with no body, and those which ha...
Fixes #49514
Change-Id: Id687eead731ba49974f11d2e5b489f11eff7d07b
Reviewed-on: https://go-revie...
Change filepath reference from cmd/internal/ld/symtab.go to
cmd/link/internal/ld/symtab.go.
Cha...
github.com/hack-pad/go - eb68e3367bf8d55bb98eb002cef35455f5be3c5f authored about 3 years ago
Currently TestPhysicalMemoryUtilization can fail on systems with large
physical page sizes like ...
FreeOSMemory relies on the function FreeOSMemory increasing HeapReleased
as opposed to the backg...
In function connectionCleanerRunLocked append to closing slice affects db.freeConns and vise ver...
github.com/hack-pad/go - 48f1cde942959e2fc3c56973a2986c24d554c82c authored about 3 years agoThanks for jtagcat@ for finding this.
Change-Id: If7324808edbae19ec8bf503b04e0426f3fb3b47a
Revi...
The repository name and structure in the RISC-V GitHub org has been
modified, rendering the exis...
Change-Id: I0b94bdced47483c6412e9979ce2d103fbfc52afb
Reviewed-on: https://go-review.googlesource...
Use C89 declaration. Also fix indentation.
Change-Id: Ib974eb32ac95610d0b0eca00ca3b139b388c73bd...
github.com/hack-pad/go - 84277bfd07dad771b9978149bdaed8aa16ed8982 authored about 3 years ago
When building a call expression for function instantiation closure, if
it's a variadic function,...
This PR adds a note into the Go 1.18 changelog for CL 330852.
Updates #46923.
Change-Id: I9915...
github.com/hack-pad/go - 666fc173c02ff3004ac9ef867aa4eec7e243dde3 authored about 3 years ago
When acquire a goroutine profile, we stop the world then acquire a
stack trace for each goroutin...
For #47327
Change-Id: I50418c0d017c4e90a2c13d26945ee639079e4e33
Reviewed-on: https://go-review....
Skip TestUDPIPVersionReadMsg on plan9, since it does things
not supported on that OS.
Change-Id...
github.com/hack-pad/go - d76b1ac3e1919bd863e7e906202ae085cb20f595 authored about 3 years ago
A chunk of code in abiutils was synthesizing the internals of a Go
string type as "struct { unsa...
During the register ABI work, a change was made in CL 302071 to
"stackframe" to treat register-r...
Revamp the way that buildLocationLists() handles zero-width
operations, to fix a couple of probl...
We already have various member functions of TCPAddr that return an
AddrPort, but we don't have a...
Currently it's quite hard to debug these error messages about ignored symbols
because there are ...
Doing this a little early in the release cycle as there have been some
changes in the handling o...
We still don't run the gccgo tests, because they don't run in module mode.
But now we at least g...
This change clarifies that calling all Map methods inside the callback
of Range is allowed. For ...
For #49512
Change-Id: Ic08652a4ec611b27150bf10b1118c1395715e5d0
Reviewed-on: https://go-review....
A UDPAddr with a nil IP is a valid state, representing an AF-agnostic
unspecified address, so ch...
structuralString was used only in one place (for built-in copy).
Remove it in favor of custom an...
If we have all channel types in a constraint, there is no structural type
if they don't all have...
For generic functions, we can export untransformed OKEY nodes, and the
key identifier is written...
Adds a new flag to 'go mod vendor' which overrides the default
'vendor' destination directory. T...
This test changes TestPhysicalMemoryUtilization to be simpler, more
robust, and more honest abou...
Fixes: #48900
Change-Id: I9235441886ed7cbdfdcbd283480f52d9216c3ea2
Reviewed-on: https://go-revi...
This brings the error messages in sync with the terminology that
will be used it the spec.
Chan...
github.com/hack-pad/go - 23dd389ac6ef59210580614c4a73e0d0a13c2911 authored over 3 years ago
- move structuralType/structuralString into type.go
- move functions exported for the compiler i...
Functions returning type parameters were erroneously being interpreted
as 'constructors' of thei...
And rename structureString to structuralString.
Now that we have an updated definition for stru...
github.com/hack-pad/go - 8a3be150775f80850e179bd1860b286be27ca407 authored over 3 years ago
We have V and T and Vu and Tu. When calling the various isX predicates
consistently use Vu and T...
This will allow us to compare the changes made for Go 1.18.
Change-Id: I1456270b201967f5cb05e66...
github.com/hack-pad/go - 17980dff368256a0763cf042376d3fb36d06c109 authored over 3 years ago
Change-Id: I71c29a2dc7e5b2b6bc35093535228d2907b16b47
Reviewed-on: https://go-review.googlesource...
We already guard against this in the type checker, and it will
eventually be allowed per the acc...
This is a port of CL 361922 to go/types.
Change-Id: I790c8121a640c25fb655c926fb434d667dd59f76
R...
If we reach a generic type that is part of a cycle
and we are in a type parameter list, we have ...
Also, invert the boolean result. This matches Checker.validType;
it's also easier to understand....
This is a clean port of CL 362336 to go/types.
Change-Id: Iafeae7024fbb2872b07748affcea9676324e...
github.com/hack-pad/go - ec86bb52ba88ff18a88719ee0f9244315fa81154 authored over 3 years ago
This is a port of CL 362118 to go/types, which is itself a roll-forward
of CL 362254, containing...
Fixes #46323
Change-Id: Ibd624b1aaa15f907b7eb965b4eaec61018a45486
GitHub-Last-Rev: 7ad670b08814...
Change-Id: I09b22f05035700e1ed90bd066ee8f77c3913286a
Reviewed-on: https://go-review.googlesource...
This is a port of CL 361412 to go/types.
Change-Id: Ie5bccc7faba7ca9230e712f867b27ca9dcddba79
R...
In preparation for porting CL 361412, fix a discrepancy in go/types,
where [-1]T is returned for...
[ this is a roll-forward of golang.org/cl/357169 with minor changes
to fix the cmd/go/internal/m...
Change-Id: I8a14b2fbb44f7ed1ea126cf27adc447f33fdf6f2
Reviewed-on: https://go-review.googlesource...
Currently, when a command scheduled by bgrun fails, bgwait returns to
the caller even in case th...
Fixes #48521
Change-Id: Id8402bcff243c0ab19e4ec0b138b9af8c111f88d
Reviewed-on: https://go-revie...
This is a port of CL 361401 to go/types.
Change-Id: I5b1c7cf1d7a819b2902c304f884492ec02c7eaa1
R...
This enhances the existing line number test
to allow a specific -gcflags (e.g., -G=3)
and to per...
The Go 1.18 code freeze has recently started. This is a time to update
all golang.org/x/... modu...
The Go 1.18 code freeze has recently started. This is a time to update
all golang.org/x/... modu...
The Go 1.18 code freeze has recently started. This is a time to update
all golang.org/x/... modu...
The Go 1.18 code freeze has recently started. This is a time to update
all golang.org/x/... modu...
Fixes #49470
Change-Id: I81fd4b0e2eef1d8d430b5d1d10c4f824e803a75c
Reviewed-on: https://go-revie...
Fixes #49446
Change-Id: Ib0b53a7dd5d567a2dd0bdf29f53d276587b60afb
Reviewed-on: https://go-revie...
Fixes #49436
Change-Id: I4c8851e7aaee631d5eb22f2ef0aea5a25e936d87
Reviewed-on: https://go-revie...
This is a port of CL 361409 to go/types.
Change-Id: I17ccf8a5b4ba715fd8a87ea2c1811700fb1157e3
R...
This is a clean port of CL 361269 to go/types.
Change-Id: I2caaf08eabdf1707ae83ec1e628fd26f21b2...
github.com/hack-pad/go - 526b2ef0ea3a13d7e9af635918ef3ef86353f220 authored over 3 years agoThis is a clean port of CL 360956 to go/types.
Change-Id: Iac437e72bb760e7e90236a86e7473d6a440d...
github.com/hack-pad/go - 81f37a72ea8a05ea3f5771a92b34b352769518cf authored over 3 years ago
Since GCC version 11, the 64-bit version of GCC starting files are
now suffixed by "_64" instead...
Fixes #39567
Change-Id: I226089b678a6a13d7ce69f360a23fc5bd297d550
GitHub-Last-Rev: 6435fd5881fc...