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
Similar to conversions, handle ordinary cases first, followed by
type-by-type assignability test...
The behavior of is/underIs was murky with the presence of a top type term
(corresponding to a ty...
It never worked in module mode (or with a read-only GOROOT).
A proposal to drop it was filed (an...
The message is now a single line, but I couldn't get '\n?' to work.
(This test does not run in ...
github.com/hack-pad/go - ffd2284db06d433d60aa75ea413f407b90e583b6 authored about 3 years ago
Previously, the worker would attempt to deflake
an input that was reported to have caused new
co...
and fix/cleanup lowering of the SSA operator created by the pass.
Change-Id: I7e6153194fd16013e...
github.com/hack-pad/go - 259735f97a2dfd33849eacef15047f5a0964498e authored about 3 years agoFixes #49174.
Change-Id: I943c370f7abd5f50a541e682f130b3526c3b5bdb
Reviewed-on: https://go-revi...
Clean up a comment that was deleted in types2 in CL 353135.
Change-Id: If339efa133e2a3d1eaa3b1e...
github.com/hack-pad/go - c0ac39c70eeeaadbebe13efb407a1a272a926d30 authored about 3 years ago
cmd/go is not subject to all the same restrictions as most of cmd.
In particular it need not be ...
Fixes #49173.
Change-Id: I71270b4ff7e9ede3cdfa5946b73142a731752adf
Reviewed-on: https://go-revi...
Updates #48968 and CL 358114
Change-Id: Ic68b4c5420c1c32f78b56874b53d717fa9af1f74
Reviewed-on: ...
Use dup3(oldfd, newfd, O_CLOEXEC) to atomically duplicate the file
descriptor and mark is as clo...
For base generic type that is written to export file, we need to mark
all of its methods, includ...
The gofrontend code mishandled this case, so add it to the test.
Change-Id: I183b8fab57552320b0...
github.com/hack-pad/go - 13eccaa9902f3bb17999f1f7f14b7da39d60e0ea authored over 3 years ago
Const strings can be marked readonly. This is particularly
important for this relatively large t...
Make the input match gofmt's output,
to make our lives easier as we phase out
old style build ta...
If we receive an async signal while running in the VDSO, such as a
SIGABRT or SIGSEGV sent from ...
CL 64070 removed lockOSThread from the cgocall path, but didn't update
the signal-in-cgo detecti...
Unlike what the comment says, the GC can see this pointer.
Might as well make it a real pointer,...
_g_, _p_, and _m_ are primarily vestiges of the C version of the
runtime, while today we prefer ...
There were two main outer switch statements in node() that can just be
combined. Also, for simpl...
Change-Id: I8db9c31ead3e5905b7f9d1faed36555e8aaa00cd
Reviewed-on: https://go-review.googlesource...
Only Git and Mercurial are supported for now.
This CL also:
- Skips tagging "revision" and "com...
Update the documentation in iexport.go to use the word 'Constraint'
rather than 'Bound', and to ...
Updates #47651
Updates #48665
Change-Id: I69a87b45a5cad7a07fbd855040cd9935cf874554
Reviewed-on:...
Pull in CL 358034 (and some more changes with passing tests) with:
go get -d golang.org/x/tool...
github.com/hack-pad/go - a2b8c186f616db92f9812e09fb2c44b0e753f8a7 authored over 3 years ago
CR bits and CR fields should be treated separately. Some instructions
modify an entire CR, a CR ...
Add utimensat as a wrapper around the libc function of the same name.
utimensat was added in mac...
Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...
These are the runtime support functions for letting Go code interoperate
with the C/C++ address ...
The -asan option compiles Go code to use the address sanitizer. This is
intended for use when l...
For MOVK/MOVN/MOVZ instructions, the assembler does not accept zero
shifts, and the CL 275812 ad...
gofmt -> <code>gofmt</code>
Change-Id: Idc01b01d8eb185f5e378000d11d622935b14db6e
GitHub-Last-Re...
Remove a unnecessary statement in the test function, the variables
aren't checked afterwards. Al...
When adding a large constant to a register we generate two adds,
we may generate two ADD instruc...
Bump the export version to a new value iexportVersionGo1_18 (2). This
will give a better error m...
The -asan option causes the compiler to add instrumentation for the
C/C++ address sanitizer. Ev...
We want to set a finalizer on splicePipe, so make it large enough to
not use the tiny allocator....
Change-Id: I0d8128668fc7a80b29aabc58dbc9a2929b889ec9
Reviewed-on: https://go-review.googlesource...
Generic function symbols sometimes have % in them, like:
main.B2[%2eshape.string_0].m2·f
W...
github.com/hack-pad/go - f92c8f07ace7ae67b95e59bbb6ae6928dd6e4773 authored over 3 years ago
The method of using references to dictionaries to hold methods
live during linker deadcode elimi...
We don't need it any more, after CL 357835.
Change-Id: I1ff5f24b5540c3e80c4b35be8215a1c37895227...
github.com/hack-pad/go - 0ae0d5c62eae1a4043d1d9cb41acc563a5e75daa authored over 3 years ago
To capture the fact that a method was called on a generic interface,
so we can make sure the lin...
On wasm, the wasm_exec.js helper passes the command line arguments and
environment variables via...
Previously, the test would panic if the short timeout
was reached before fuzzing began. Increasi...
NetConn method gives us access to the underlying net.Conn
value.
Fixes #29257
Change-Id: I68b2...
github.com/hack-pad/go - f47335e653ac37f68ada2b265ce4a2c869a27cae authored over 3 years ago
When doing a tail call the link register is live as the callee
will directly return to the calle...
Change-Id: Ie802ff27b611ed248d7b14f6e972e6300c181f43
Reviewed-on: https://go-review.googlesource...
In preparation for capturing the implicit interface bit in export data,
thread through the IsImp...
Now that we've removed the necessity for subscripts in importers, we can
effectively eliminate t...
The Content-Length was incorrectly set to 0 for ill-formed and invalid
values. In these cases, r...
CL 357649 fixes inlining labeled FOR/RANGE loops,
we should do same translation for inlined SWIT...
When running benchmarks with high -count and no tests (either at all or
filtered with -run), the...
- change _TypeSet.hasTerms() to report if a type set has actual types
(excluding a "universe" ...
This updates the testing package documentation to reference the
specification for the benchmark ...
The existing DrawMask method is generic and is therefore calling the At().RGBA() method for ever...
github.com/hack-pad/go - fcd2d9cd75e6307b5b72fed2201044e231bef40a authored over 3 years ago
CL 358117 fixed a bug that Phi's argument wasn't updated correctly after
removing a predecessor ...
It's only used in two places:
- The one in regalloc.go can be replaced with v.resetArgs()
- T...
removePred and removeArg do different things. removePred moves the last
predecessor to index k, ...
Change-Id: Ib51bcdf023910d244739ec176880a16e700851e7
Reviewed-on: https://go-review.googlesource...
Change-Id: Ib9bd08ab6153129aaf8b77b41fc6ea302d0c1589
Reviewed-on: https://go-review.googlesource...
This generalizes range clauses. Removed some dead code and cleaned
up the surrounding bits.
Cha...
github.com/hack-pad/go - c526cf8c1ea535de6a30fc8c553c377bda4d6781 authored over 3 years ago
This generalizes make the same way copy was generalized and eliminates
a use of optype.
Change-...
github.com/hack-pad/go - 2d205ebb96460b500480d144b99d2d5f5d4c06ed authored over 3 years ago
Implement singleUnder[String] which determines a single underlying type
for a given type: either...
TBR=iant
Change-Id: Ic72af52e5ff8d28f8102c07b03e4930df61445ca
Reviewed-on: https://go-review.go...
Since CL 282892, functions are always compiled before closures. To do
that, when walking the clo...
Updates #40592
Change-Id: If66629e47ca9859128ee3ad8fb584e022d7a6982
Reviewed-on: https://go-rev...
The -asan option causes the linker to link against the runtime/asan
package in order to use the ...
- slightly refactor convertibleTo and convertibleToImpl
- provide ability to return a conversion...
There's no need to say "type parameter" for a type parameter. The
name is sufficient (they are a...
Change-Id: I5b1dfeeb0ae5ac32667633151ef83bcf4654c43f
Reviewed-on: https://go-review.googlesource...
CL 356254 fixed crawling of embeddable types during inline. However, we
are too agressive, since...
Same as CL 350153 did for Value.Elem to panic on bad notinheap pointers.
While at it, also add m...
Add a new interface method, MarkImplicit, to allow marking interfaces as
implicit from outside t...
This introduces a number of new classifications which will make it
easier to generate functions ...
There is already a mechanism using inlgen to rename labels insided
inlined functions so that the...
Currently gcPaceScavenger is called by gcControllerState.commit, but it
manipulates global state...
Currently gcController.gcPercent is read non-atomically by
gcControllerState.revise and gcTrigge...
Optype should never return a defined type.
Change-Id: I37b29e0c958e127e75e834e71d6392ea80827773...
github.com/hack-pad/go - 8151b56c5d1de8f654a6e6789a0e607b55845c1e authored over 3 years ago
Change-Id: Id71f3d8d7c1ef7910d5d9497167dc677f2f0a2ef
Reviewed-on: https://go-review.googlesource...
Change-Id: I61011b75128478aa50308d84f4cba23b3e241b3f
Reviewed-on: https://go-review.googlesource...
Fixes: #49081
Change-Id: Ie6742f1e7a60c2d92ce1283bcfaa3eac521440a1
Reviewed-on: https://go-revie...
Modified condition in the ASM implementation of indexbody to
determine if separator length cross...
This adds a few rules to PPC64 to eliminate some instructions:
- when an isel is used to generat...
Updated test/codegen/comparison.go to verify memequal is inlined
as implemented in CL 328291.
C...
github.com/hack-pad/go - 8b9c0d1a79251969e46731e46e72e4e8f8998817 authored over 3 years agoThis is port of CL 357229 for types2 to go/types.
Change-Id: I35ed6b784969210a00ea5b36238df7d6b...
github.com/hack-pad/go - fca46d0b36c10250713ec0f4c9bf13d626f358d1 authored over 3 years ago
Change-Id: I43e5bb778fbba1398c8006b1644524a9885157db
GitHub-Last-Rev: fa76473ab8b207b8cfc350ca8a...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...
Change-Id: Ie7f09a7c9545ef9dd1860b1e332c4edbcbf8165e
Reviewed-on: https://go-review.googlesource...
Change-Id: I74f365316484feb819c31c77fbffd78fadfe32a9
Reviewed-on: https://go-review.googlesource...
Iterate through the actual, possibly defined types of constraints
when type-checking generic con...
This is a clean port of CL 357291 from x/tools.
For #46586
Change-Id: Ib22087ae7fe8477d368acd2...
github.com/hack-pad/go - 4320949f36f5f523a08ce8da6bdcd35ef51b8941 authored over 3 years ago
In CL 327872, there's a fix for crawling of embeddable types directly
reached by the user, so al...
Remove a bit of dead code from the Go object file reader (io.ReaderAt
no longer needed in goobj....
Minor leftover from CL 74851.
Change-Id: I1b56afcde3c505ba77a0f79e8ae9b01000362298
GitHub-Last-...
Fixes #48861
Change-Id: I3f55bfbdc4f2cf5b33d1ab2d76e01335bb497c6f
GitHub-Last-Rev: 0ecd790b87dd...