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
Fixes #51414
Change-Id: Ia3b1674f2a902c8396fe029397536643a3bc1784
GitHub-Last-Rev: 67159648af09...
Change-Id: I32944f4ed519419e168e62f9ed6df63961839259
Reviewed-on: https://go-review.googlesource...
CL 394074 broke the noopt builder. Something about time.After's inlining
depends on the build fl...
Fixes #51963
Change-Id: Ib9e0521222e6fc41e787f3150b254e058a19addc
Reviewed-on: https://go-revie...
Same as BSFQ, if the input is known to be nonzero we don't need a CMOV
to correct for the weird ...
This CL adds regabi support needed for reflect.
Change-Id: Ib78f8c7765f03e3a7b46e8b115bf8870b80...
github.com/hack-pad/go - 56400fc70675cc2f404f33e3ed13386967cfe4da authored over 2 years ago by Meng Zhuo <[email protected]>
In CL 367756 we remove ReadFileRevs function, We simplified
the implementation of the interface ...
Fixes #51856
Change-Id: I8328d73bbb7bc166d58281180b64785a634e9bab
Reviewed-on: https://go-revie...
This reverts commit e550c3054586a224d949cc8fa030bac0887bee51.
Reason for revert: Method bound c...
github.com/hack-pad/go - 3f69cc7d77fbc569824307e6dca37950003ce5a8 authored over 2 years ago by Keith Randall <[email protected]>
When we have x.M(args) where x is a value of type parameter type, we
currently cast x to the bou...
Currently we do quite a dance for method expressions on generic
types. We write a new closure, a...
Add the riscv64 register ABI constants and allow regabi
value to be set for riscv64
Change-Id: ...
github.com/hack-pad/go - 0652274c10f8f2a520c30bf43bb968dac91bf9f5 authored over 2 years ago by Meng Zhuo <[email protected]>
Change-Id: I90c8e12a0be05d82bf6e147b5249859518f35c14
Reviewed-on: https://go-review.googlesource...
Historically, we sometimes recorded imports based on either package
path ("net/http") or object ...
The correct (or at least mostly commonly used) name for addresses of the
form ::ffff:192.0.2.128...
The detection of the "unknown charset" case was too tailored
to one specific address parser. Mak...
The only usage of NewClosureExpr is inside NewClosureFunc, which is its
alternative version. So ...
When run with race detector the test fails without the fix.
Fixes #51799
Change-Id: I273adb6d3...
github.com/hack-pad/go - 1d19cea740a5a044848aaab3dc119f60c947be1d authored over 2 years ago by Maisem Ali <[email protected]>
For 1-byte type, we have a special case for converting to interface
type. But we missed an optim...
Add a new rewrite rule to merge ANDconst and UBFX into
UBFX.
Add test cases.
Change-Id: I24d64...
github.com/hack-pad/go - 8ab42a945aef7c09189a60263c4450a65bc00a47 authored over 2 years ago by fanzha02 <[email protected]>
If the http.Request passed to ReverseProxy.ServeHTTP has a context
with a non-nil Done channel, ...
Change-Id: I01717cc52c9728b4eaaf2c996707f59a113bff9e
Reviewed-on: https://go-review.googlesource...
This CL updates test/run.go to compile xxx.dir/x.go with a package
path of "test/x" instead of j...
Change-Id: I69e64ebf8c11145ce32aa4c11178e3a47d22fb84
Reviewed-on: https://go-review.googlesource...
Label symbols are only useful for relocations from text. No need
to do it for DWARF. And the PE ...
I was testing edge cases in gofumpt, a fork of gofmt,
and noticed that gofmt will return a bare ...
The file names reported in error messages by the compiler are
printed unchanged from the file na...
So all runtime map functions will use the same code path, make it easier
for future CL to handle...
CL 187617 removed oldescape_linkname.go, but forgot to remove this
directory too.
Change-Id: I6...
github.com/hack-pad/go - 60be4ec096a180d74208230207e839bd2c8a030a authored over 2 years ago by Matthew Dempsky <[email protected]>
bug302 compiles p.go with -p=p, and then manually creates a pp.a
archive, and imports it as both...
Currently, run.go's *dir tests allow "x.go" to be imported
interchangeably as either "x" or "./x...
This CL allow the CALL ops to take variable number of arguments.
Change-Id: If84bb306c2f23a0a93...
github.com/hack-pad/go - 849e42f028d20821aa68d7d37aa2e1fc3abbebe3 authored over 2 years ago by Meng Zhuo <[email protected]>
After CL 394556, only LocalPkg is passed to AllowsGoVersion, so simplify
the code to not depend ...
SetBroken is never called and Broken always returns false.
Updates #51691
Change-Id: I7e3fd3f2...
github.com/hack-pad/go - 0eb2c771248c74e462d3ed77dab23bb2de566de1 authored over 2 years ago by Cuong Manh Le <[email protected]>anyBroke now always return false, we can get rid of it.
Updates #51691
Change-Id: Idab5bc9f9f2...
github.com/hack-pad/go - 2792a414c69d9e6bacee217f6beb92352fe3c2a4 authored over 2 years ago by Cuong Manh Le <[email protected]>types2 handles those checks instead.
The only exception is noder.checkEmbed, since when types2
...
CL 388535 removed the only usage of this function.
Change-Id: Ie5a61cce75b03d83162f62989fe52388...
github.com/hack-pad/go - 489e4882ef0df15f208e41915cedc1ceb2cc75fd authored over 2 years ago by Cuong Manh Le <[email protected]>And use base.Fatalf in code that use n.SetDiag(true) instead.
Updates #51691
Change-Id: Ib3c0b...
github.com/hack-pad/go - c10fb508946bccbd015634c0bdb1cbd18e206c8f authored over 2 years ago by Cuong Manh Le <[email protected]>And use base.Fatalf in code that use t.SetBroke(true) instead.
Updates #51691
Change-Id: I9f36...
github.com/hack-pad/go - 515135f4c3f9c67d51d6d3d7b8fe82559ac2e9f2 authored over 2 years ago by Cuong Manh Le <[email protected]>
reportTypeLoop used to be used to report invalid recursive types in old
typechecker.
However, t...
github.com/hack-pad/go - 7e0a1d340ffd71f239bddbd4686392a5a2c5906b authored over 2 years ago by Cuong Manh Le <[email protected]>
This change essentially matches the 1.17 compiler error message for
this error.
Fixes #51877.
...
github.com/hack-pad/go - f9747b7f7315fa702a39b420b63977ca90e06e94 authored over 2 years ago by Robert Griesemer <[email protected]>
The code iterates through the func table to find a function with
a given file and line number. T...
For a non-generic defined type, we generate its type descriptor
symbol only in the defining pack...
With the previous CL the compiler emits an unlinkable object if
the -p flag is not specified. It...
Fixes #49193.
Change-Id: Ief31ea6b3dddf9452efb94763c89b8639aa3ce9e
Reviewed-on: https://go-revi...
The importer type param index used package name type parameter key,
causing type parameters to b...
Restructure TestCPUProfileMultithreadMagnitude so it will run again with
a longer duration on fa...
For unlinkable object the link will fail, but it opens the output
file in writable mode first th...
The glibc loader explicitly sets the first doubleword on the stack (R1)
to $0 to indicate it was...
The TPIDR macro in tls_arm64.h is not used anywhere, so remove it
to reduce confusion.
Change-I...
github.com/hack-pad/go - 817d6ea2b3dd08d3594341ca5ab7932c102694ad authored over 2 years ago by eric fang <[email protected]>
Symbol's content hash used to depend on package path expansion in
symbol names, so we have speci...
CL 391014 requires the compiler to be invoked with the -p flag, to
specify the package path. Peo...
This makes the short link discoverable.
Change-Id: I9a2f091652bc096feebbbd79a854aa68efe702bb
Re...
Change-Id: Icff75d5fbbeae7aa5003a848ea49b79ddde9933a
GitHub-Last-Rev: 489a69fc6bb02a57689a43ae8f...
ParseMultipartForm relies on a valid multipartReader, if the request body is nil,
the multipartR...
For #46279
For #51713
Change-Id: I444f309999bf5576449a46a9808b23cf6537e7dd
Reviewed-on: https:/...
Same information is provided from the fields of the embedded
goobj.Reader, and are accessed thro...
Change-Id: Icc5240db7447846061d0d81f5e15f788758d4d64
Reviewed-on: https://go-review.googlesource...
Also change the relevant test to be tested on the linux-arm64 platform
as well.
Fixes #49789
C...
github.com/hack-pad/go - a8f019e956db40e9846e635a622489e356cb3c63 authored over 2 years ago by Byoungchan Lee <[email protected]>Less text and improves codegen a bit.
compilecmp on ARM64:
runtime
(*gcWork).putFast 160 -> 14...
Now that the go/types and types2 test files end in .go we must
avoid trying to format them as th...
For #46794
Change-Id: I19edc19640a2dfa6bc7504dd8e1742a261ba29f1
Reviewed-on: https://go-review....
First law of cmd/compile frontend development: thou shalt not rely on
types.Sym.
This CL replac...
github.com/hack-pad/go - adae6ec542c3287ffe643093a0f61c9871f4e238 authored over 2 years ago by Matthew Dempsky <[email protected]>
The type checker implements additional built-in functions (assert
and trace) that are useful for...
Also, manually renamed some irregularly numbered files to
make their file names more regular.
W...
github.com/hack-pad/go - 4dc5553930a7ead64e7cc62752907625642011d3 authored over 2 years ago by Robert Griesemer <[email protected]>
We don't need the distinction anymore.
Also, made corresponding adjustments to check_test.go.
C...
github.com/hack-pad/go - 82b810f79cda7e6be28fa0b2675bb4f3ed294d5a authored over 2 years ago by Robert Griesemer <[email protected]>
Change-Id: I6f0cb850ee23184380c03a53c12425c350aa16e3
Reviewed-on: https://go-review.googlesource...
Use it so set the language version. Adjust relevant tests.
Fixes #49074.
Change-Id: Ida6d0002b...
github.com/hack-pad/go - 3395f74d865108e42eec677f69a24e8b2ccbbefe authored over 2 years ago by Robert Griesemer <[email protected]>The unified build will become the norm and the excluded tests run now.
Change-Id: I0f0873eb7348...
github.com/hack-pad/go - 6be52abfa1aea30b33c1e2db27ea92e954661aa4 authored over 2 years ago by Robert Griesemer <[email protected]>
This change fine-tunes tracing output and adds additional
descriptions for delayed actions that ...
This addresses a situation where Named.fromRHS is nil which
is causing validType to panic when t...
Fixes #51533.
Change-Id: Ia41a2e96d1ef94f740887e3167e6396e4f52035c
Reviewed-on: https://go-revi...
With all the unification/type-inference fixes in place now, we
should not see stack overflows an...
Fixes #51616.
Change-Id: I388a6d91d9bfe5410b5eb32e1606257ec668d618
Reviewed-on: https://go-revi...
Fixes #51581.
Change-Id: I3232428edd7dd86f2930af950fb5841f7394c4e5
Reviewed-on: https://go-revi...
These fields were used for tracking the last scope/position that an
identifier was declared, so ...
While building Go from source, workspace mode should be disabled,
even if the external environme...
The ELF compression header(Chdr) has Addralign field that is set to the
alignment of the uncompr...
In last cycle we developed register ABI for ARM64, enabled by
default as a GOEXPERIMENT. This cy...
To pick up CL 394234.
Done by
go get -d golang.org/x/tools@c717623e3197
go mod tidy
go mod v...
CL 342350 fixed deadcode panic with dead hidden closures. However, a
closure may contains nested...
Tweak the (*Data).parseUnits method to check a bit more carefully for
buffer read errors, so as ...
When developing register ABI, for early testing the compiler
recognized a few magic names to tri...
Clarify that username can't contain a colon.
See https://go.dev/play/p/aM25UHC6n98
Change-Id: I...
github.com/hack-pad/go - 7eaad60737bc507596c56cec4951b089596ccc9e authored over 2 years ago by Brad Fitzpatrick <[email protected]>Fixes #50916.
Change-Id: I51f3269b7a0793a3002eef83de1d871111fc3cdc
GitHub-Last-Rev: fc8c183ac7f...
CL 372774 is for reflect, this CL is for internal/reflectlite.
Updates #50208
Change-Id: Ib7e8...
github.com/hack-pad/go - 47efdcbf4c40a718ba6e1c28b8bb7b73e729f2b0 authored over 2 years ago by zhouguangyuan <[email protected]>
This CL adds some initial support for spilling and reloading
registers in the new ABI for RISCV6...
Change-Id: I4fea927b9d34e7bf382ddf148a787c1558176f2f
GitHub-Last-Rev: ff1fa78a3601243092f84a69e7...
This CL adds register information for riscv64
Updates #40724
Change-Id: If2275d9135596ff856d09...
github.com/hack-pad/go - caf5cd9da8b08e786442eeef3d3a3a8e4492d3dd authored over 2 years ago by Meng Zhuo <[email protected]>
CL 392918 changed n.Diag() to always return false, we can now get rid
of all its deadcode paths....
CL 392918 changed t.Broke() to always return false, we can now get rid
of all its deadcode paths...
For #51483
Change-Id: I4546c20cf968b595020a1eba888fe1d9a1c6cfc5
Reviewed-on: https://go-review....
The -trimpath flag has a strong effect on the resulting binary:
in particular, it determines whe...
Also update cmd/dist to avoid setting gcflags and ldflags explicitly
when the set of flags to be...
This fixes a build failure due to inability to locate the "vet" tool
when the test binary is bui...
Previously, we called path.Clean on the value of runtime.GOROOT() even
if it was empty, which wo...
This fixes many (but not all) of the tests that currently fail
(due to a bogus path reported by ...
Previously, runtime.GOROOT() would return the string "go" in a binary
build with -trimpath. This...
In the beginning the Go compiler was in C, and C had a function
'getgoroot' that returned GOROOT...
Invoking a VCS tool requires that the VCS tool be installed, and also
adds latency to build comm...