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

internal/pkgbits: add version number

Especially once this code gets copied into x/tools, we need a way to
evolve the file format, so ...

github.com/hack-pad/go - d40e7bb1744507be421b80c19372b9411c9856b4 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: use AutogeneratedPos for method value wrapper

We use AutogeneratedPos for most compiler-generated functions. But
for method value wrappers we ...

github.com/hack-pad/go - b0db2f00a0d540c3d3f5d14433da2e3e1ad41f9f authored over 2 years ago by Cherry Mui <[email protected]>
test: workaround codegen bug in typeparam/mdempsky/13.go

This test case is failing on the noopt builder, because it disables
inlining. Evidently the expl...

github.com/hack-pad/go - f4722d84499cc07fe8c8beb9b3154e59b7d21adf authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/ir: remove unused -G=0 node types

ir.PkgName was only used by the old -G=0 frontend for representing
identifiers that refer to a p...

github.com/hack-pad/go - d6d2ebb7b8194eb20d95b84bae39f7a5837e9f72 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/typecheck: remove unused -G=0 code

The typechecking code for dealing with dot imports and redeclaration
errors can be removed, as t...

github.com/hack-pad/go - 0fcb94895fa3efd9733e5ab66f5634f92cee9aa3 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove a bunch of dead noder code

This code was only needed for supporting -G=0 mode, which is now gone.

Change-Id: I504887ab179e...

github.com/hack-pad/go - ad523565369af0005c59232e5d2dd7359073f0f4 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove -G flag

Post 1.18, we're committed to types2 as cmd/compile's type checker.

Change-Id: I30d2dd2b2ba6283...

github.com/hack-pad/go - 302af4be8e27b55b7a8572adece64e2271d09b97 authored over 2 years ago by Matthew Dempsky <[email protected]>
all: avoid use of cmd/compile -G flag in tests

The next CL will remove the -G flag, effectively hard-coding it to its
current default (-G=3).

...

github.com/hack-pad/go - e24977d23103fc969da9b1173b5e629870628185 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/importer: lazier unified IR importing

No need to eagerly read the object dictionary or setup the object
reader outside of the lazy res...

github.com/hack-pad/go - 258fc75505f170bc94c73d64e9b4a0d986108e96 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: move unified IR's reader2 into importer package

This keeps cmd/compile/internal/importer similar to how
go/internal/gcimporter will work after u...

github.com/hack-pad/go - 44e92e11c74fdb9ac016c65b319afa49737871ea authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: use bool->uint8 op instead of copy

Just a cleanup to make sure that generic SSA is properly typed.

Change-Id: Ie75fa972ae4e5fdaca5...

github.com/hack-pad/go - 620a3c0596a2c0dd04964c3655e4f631fb85c0bb authored over 2 years ago by Keith Randall <[email protected]>
runtime: improve work stealing randomness

For certain values of GOMAXPROCS, the current code is less random than
it looks. For example wit...

github.com/hack-pad/go - 510ad4561f859f66e5a2d22a73ce8253d19ede3e authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: avoid generating unreachable branch for select cases

Fixes #50823

Change-Id: I1c12e875b840eecadefb0d9e044ff2a268ccfbaa
Reviewed-on: https://go-revie...

github.com/hack-pad/go - d9fd9201ad214e8da769a9338b9d3a5f3e1bc980 authored over 2 years ago by zhouguangyuan <[email protected]>
cmd/compile: don't panic when printing package-less symbols

Some of the SSA pseudo-variables like the memory variable don't
have a package. Print those grac...

github.com/hack-pad/go - d81464e1eb69faab8bcf04015575d8a491e882b5 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: unified IR support for implicit interfaces

Change-Id: Ibdaa0750f7bc47b513c047fdf4b7145ebba9e870
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - 21998413ad82655fef1f31316db31e23e0684b21 authored over 2 years ago by Matthew Dempsky <[email protected]>
internal/pkgbits: extract unified IR coding-level logic

This logic is needed for the go/types unified IR importer, so extract
it into a separate interna...

github.com/hack-pad/go - 7c151f328056c354d3db13c17b3d96bec316cff6 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: shuffle and simplify sync markers

Change-Id: I5894ac4697212267380b7a03876927bbf3e1de2b
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - 6d881da9c894dfcd8c3dda0057a7c63a3ab59ea2 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove unified IR quirks mode

Unified IR quirks mode existed to help bootstrap unified IR by forcing
it to produce bit-for-bit...

github.com/hack-pad/go - 4f04e1d99fac7abf067b6bd3a299f1fbc9a59414 authored over 2 years ago by Matthew Dempsky <[email protected]>
internal/goversion: update Version to 1.19

This is the start of the Go 1.19 development cycle, so update the
Version value accordingly. It ...

github.com/hack-pad/go - 936c7fbc1c154964b6e3e8a7523bdf0c29b4e1b3 authored over 2 years ago by Carlos Amedee <[email protected]>
cmd/go: make work and work_edit script tests version-independent

The work and work_edit script tests ran go work init, which put the
current Go version into the ...

github.com/hack-pad/go - acc5f55bac6884f8b27c5b73c4a15d777a7169a0 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/internal/obj/riscv/testdata/testbranch: add //go:build lines

Change-Id: I95ea33c0aad7d427da99c0ea7d0869f10ed5dd71
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - f04d5c118c2ccd058a3fb81586f92c8b29b373ae authored over 2 years ago by Tobias Klauser <[email protected]>
all: fix typos

Change-Id: I93ff3d33a5db130dd57a9545456f2961fc3f668b
GitHub-Last-Rev: f95fafc04937a99f82cb992aab...

github.com/hack-pad/go - 9fe3676bc7de9f648c2e3ce6d4f1aa395b92cefd authored over 2 years ago by cuishuang <[email protected]>
go/types, types2: fix string to type parameter conversions

Converting an untyped constant to a type parameter results
in a non-constant value; but the cons...

github.com/hack-pad/go - f9285818b6890b896f43a38449e35744d97c817a authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: deal with constructed types that have shapes in them

We convert type args to shape types inside instantiations. If an
instantiation constructs a comp...

github.com/hack-pad/go - eb8198d2f67477517e7a735faa49dfd7c0fb3622 authored over 2 years ago by Dan Scales <[email protected]>
spec: the -'s possessive suffix is English, not code

Change-Id: I2debcf926ef116c632c7366646d37de8686b7c9e
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - b33592dcfd2c8cf1e574531ecb49af7755864e82 authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime: avoid cgo_unsafe_args for syscall.syscall functions on darwin/arm64

Currently, syscall.syscall-like functions are defined as
cgo_unsafe_args, which makes them ABI0,...

github.com/hack-pad/go - 57e3809884dd695d484acaefba8ded720c5a02c1 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: fix case for structural types where we should be looking at typeparams

In getInstantiation, we were not computing tparams correctly for the
case where the receiver of ...

github.com/hack-pad/go - 06a43e4ab62bc5f8353e1c6ed5267d51ce2b483c authored over 2 years ago by Dan Scales <[email protected]>
cmd/compile: emit types of constants which are instantiated generic types

Normally types of constants are emitted when the type is defined (an
ODCLTYPE). However, the typ...

github.com/hack-pad/go - 0907d57abf34e1d11debef2ea7bb4d7b2c11f51e authored over 2 years ago by Keith Randall <[email protected]>
CONTRIBUTORS: update for the Go 1.18 release

This update was created using the updatecontrib command:

go install golang.org/x/build/cmd/upd...

github.com/hack-pad/go - 9c4a8620c802fbb03545e401c41f11d622b84b42 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
test: add new test case for 51219 that triggers the types2 issue

The existing test for 51219 didn't actually trigger the types2 issue - I
hadn't been able to min...

github.com/hack-pad/go - 57dda9795da20fc12c7cfb03438959302200dbc7 authored over 2 years ago by Dan Scales <[email protected]>
cmd/compile: ensure dictionary assignment statements are defining statements

The problem in 51355 is that escape analysis decided that the
dictionary variable was captured b...

github.com/hack-pad/go - a064a4f29a97a4fc7398d1ac9d7c53c5ba0bc646 authored over 2 years ago by Keith Randall <[email protected]>
go/types, types2: report an error for x.sel where x is a built-in

In case of a selector expression x.sel where x is a built-in
we didn't report an error because t...

github.com/hack-pad/go - 286e3e61aa9310bb8fd333adac6d06cfb2fcc95b authored over 2 years ago by Robert Griesemer <[email protected]>
go/types,types2: revert documentation for Type.Underlying

In the dev.typeparams branch, the documentation for Type.Underlying was
updated with commentary ...

github.com/hack-pad/go - 01e522a97384d2c81c90490654c2749bfe05045e authored over 2 years ago by Robert Findley <[email protected]>
runtime/internal/atomic: set SP delta correctly for 64-bit atomic functions on ARM

64-bit atomic functions on ARM have the following structure:
- check if the address is 64-bit al...

github.com/hack-pad/go - 26999cfd84dfa11f8e87153dc91a9f67070f6916 authored over 2 years ago by Cherry Mui <[email protected]>
go/types, types2: delay receiver type validation

Delay validation of receiver type as it may cause premature expansion
of types the receiver type...

github.com/hack-pad/go - 7c694fbad1ed6f2f825fd09cf7a86da3be549cea authored over 2 years ago by Robert Griesemer <[email protected]>
doc/go1.18: note changes to automatic go.mod and go.sum updates

Fixes #51242
Updates #45551

Change-Id: Iba6e6acd9a94d24e26fcdd125f1022430723ada7
Reviewed-on: h...

github.com/hack-pad/go - 55e5b03cb359c591a2ca6ad8b6e9274d094b1632 authored over 2 years ago by Bryan C. Mills <[email protected]>
doc/go1.18: document minimum Linux kernel version

For #45964

Change-Id: Ic66502c50ca328e944c91e710dca6c8dbc168e4f
Reviewed-on: https://go-review....

github.com/hack-pad/go - 6d810241ebd2a02bc63b7706ad68ae8d0edbfd8e authored over 2 years ago by Tobias Klauser <[email protected]>
doc/go1.18: document method set limitation for method selectors

For #51183.
For #47694.

Change-Id: If47ae074c3cd9f73b2e7f6408749d9a7d56bd8d2
Reviewed-on: https...

github.com/hack-pad/go - b8b3196375e6b5275ae05eba8ca04662f10ab047 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: method recv type parameter count must match base type parameter count

Check receiver type parameter count when type checking the method
signature and report a suitabl...

github.com/hack-pad/go - c0840a7c720061f1293063bad5d5648267a02ba8 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: implement adjCoreType using TypeParam.is

TypeParam.is also provides ~ (tilde) information which is needed
to fix #51229. Delete all code ...

github.com/hack-pad/go - c15527f0b05fe893e2630420747b128fe17566a6 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: avoid +incompatible major versions if a go.mod file exists in a subdirectory for that version

Previous versions of the 'go' command would reject a pseudo-version
passed to 'go get' if that p...

github.com/hack-pad/go - 5a9fc946b42cc987db41eabcfcbaffd2fb310d94 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: delay all call transforms if in a generic function

We changed to delaying all transforms of generic functions, since there
are so many complicated ...

github.com/hack-pad/go - 4edefe95689c31846a73e36b3e0723c924def45d authored over 2 years ago by Dan Scales <[email protected]>
doc/go1.18: mention runtime/pprof improvements

For #47694.

Change-Id: Ib49145a58b8388d35267cf4b0caa730d7e436d06
Reviewed-on: https://go-review...

github.com/hack-pad/go - 8c5904f149a4863183925c71ce4118413e7e0167 authored over 2 years ago by Felix Geisendörfer <[email protected]>
doc/go1.18: fix typo in AMD64 port section

Change-Id: I234ae7988fd3c7a41c08e72664f8db811eb23bb1
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - b2dfec100afa7739dc1845f1009dad2d7163116c authored over 2 years ago by Tobias Klauser <[email protected]>
go/types, types2: don't crash if comp. literal element type has no core type

Instead, report a suitable error.

Fixes #51335.

Change-Id: Ifce90cb7487b1e99c6b4221c0d43bacc0c...

github.com/hack-pad/go - 78e99761fc4bf1f5370f912b8a4594789c2f09f8 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: generalize cleanup phase after type checking

Use a cleanup method and simple registration mechanism
for types that need some final processing...

github.com/hack-pad/go - e94f7df957b6cfbdfbed7092fd05628452c5e018 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: add "dynamic" flag to comparable predicate

A type implements a comparable interface only if the type
is statically known to be comparable. ...

github.com/hack-pad/go - 163da6feb525a98dab5c1f01d81b2c705ead51ea authored over 2 years ago by Robert Griesemer <[email protected]>
go/types: delete unnecessary slice construction

CL 374294 made our check for incorrect type parameters constraints
eager, but failed to remove t...

github.com/hack-pad/go - e534907f65f5a3eda47a069ea0aab33306c1d616 authored over 2 years ago by Robert Findley <[email protected]>
doc/go1.18: drop misplaced period

Change-Id: Id29f352c8d2e61672f55294120058b1f585f7aeb
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - d0c3b0116217a898f2e5d2d00cc5f0356ea5ad1e authored over 2 years ago by Michael Pratt <[email protected]>
net: document methods of Buffers

There is code in the wild that copies the Buffers slice,
but not the contents.
Let's document ex...

github.com/hack-pad/go - 35170365c83085024e4855c14032599f5513d563 authored over 2 years ago by Martin Sucha <[email protected]>
doc/go1.18: correct "go build -asan" HTML tag

The tag was "go-mod-vendor", which doesn't match the content.

Also move that section later, so ...

github.com/hack-pad/go - 3140625606f83328a5c7754fd952ed8d52a76404 authored over 2 years ago by Cherry Mui <[email protected]>
crypto/x509, runtime: fix occasional spurious “certificate is expired”

As documented in #51209, we have been seeing a low-rate failure
on macOS builders caused by spur...

github.com/hack-pad/go - d17b65ff54a1824288eb68fe3fbc8c7beed14bb6 authored over 2 years ago by Russ Cox <[email protected]>
doc/go1.18: fix a few small typos, add a few commas

Updates #47694

Change-Id: I6c1c3698fdd55fe83c756f28776d1d26dba0a9df
Reviewed-on: https://go-rev...

github.com/hack-pad/go - c9fe126c8bf25d14b233f1ccaff12c1bffbd4971 authored over 2 years ago by Alberto Donizetti <[email protected]>
Add tar.ReaderFS to README

github.com/hack-pad/hackpadfs - 5db3715f05c64f825f87a710dd42d82fb459ee34 authored over 2 years ago by John Starich <[email protected]>
Move tar FS to hackpadfs (#19)

github.com/hack-pad/hackpad - 1f6b4afdb875e099505f5c3ed65751bce9eecce0 authored over 2 years ago by John Starich <[email protected]>
Add fserrors pkg to prepend error cause information

github.com/hack-pad/hackpadfs - 7df27a08fdee82e8da12bab573237cefb472bc1c authored over 2 years ago by John Starich <[email protected]>
Add tar.ReaderFS: A streaming tar FS for memory and time-constrained programs

Ported from github.com/hack-pad/hackpad/internal/tarfs

github.com/hack-pad/hackpadfs - 63d636d3f11322588b581ae562845e8bc6188ccb authored over 2 years ago by John Starich <[email protected]>
encoding/xml: embedded reference to substruct causes XML marshaller to panic on encoding

When encoding a xml attribute is zero value (IsValid == false), we need
a `continue` to jump ove...

github.com/hack-pad/go - 851ecea4cc99ab276109493477b2c7e30c253ea8 authored over 2 years ago by hopehook <[email protected]>
testdata: fix typo in comment

Change-Id: If3d5884d9f3f32606c510af5597529b832a8f4a9
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - 0261fa616a16dc37b862691f79c7b4d301dfbe4a authored over 2 years ago by hopehook <[email protected]>
doc/go1.18: fix grammar error

sed 's/the/that/g'

Change-Id: I3f539817b055d54b0ec99346555ac91b756d9ed6
GitHub-Last-Rev: 2e7df1...

github.com/hack-pad/go - 903e7cc69971b2c7bf40a1e7ff2a9e3dd353dc5a authored over 2 years ago by Nick Sherron <[email protected]>
strings: fix typo in comment

Remove unnecessary whitespace in noescape comment

Fixes #50634

Change-Id: I1c8d16c020b05678577...

github.com/hack-pad/go - e002cf4df7fcd9925916ed78df7ed2a49031ed2e authored over 2 years ago by George Looshch <[email protected]>
doc/go1.18: document Go 1.17 bootstrap and //go:build fix

For #44505 and #41184.

Change-Id: I9503292dace1aa60de167ca5807bf131554465b9
Reviewed-on: https:...

github.com/hack-pad/go - 61b5c866a9507524d0a3d7a7e0c892c975ca081b authored over 2 years ago by Russ Cox <[email protected]>
runtime: save some stack space for racecall on ARM64

To avoid nosplit overflow in -race -N -l build.

For #51247.

Change-Id: I48426bbd4adefd18eaf26e...

github.com/hack-pad/go - d27248c52f8545aa3c3de07e3d2568da5c5df785 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: define racefuncenter and racefuncexit as ABIInternal

They are called from compiler instrumented code as ABIInternal.
Define them as ABIInternal to av...

github.com/hack-pad/go - d93cc8cb9639212ee674ecbc9149fb897dd8fd77 authored over 2 years ago by Cherry Mui <[email protected]>
reflect: call ABIInternal moveMakeFuncArgPtrs on ARM64

Save some stack space, to avoid nosplit overflow in
-race -N -l build.

For #51247.

Change-Id: ...

github.com/hack-pad/go - 20b177268fe6d5711a104e5fcd09b7b1ad6a561b authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: fix importers to deal with recursion through type constraints

The code for issue #51219 reveals bugs in the types1 and types2
importers that can occur for rec...

github.com/hack-pad/go - d35ed094864617d82c5701f56811ad68b37eda6e authored over 2 years ago by Dan Scales <[email protected]>
os: eliminate arbitrary sleep in Kill tests

The test spawned a subprocess that arbitrarily slept for one second.
However, on some platforms,...

github.com/hack-pad/go - eaf040502b763a6f00dced35e4173c2ce90eb52f authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/modload: set errors for packages with invalid import paths

Prior to CL 339170, relative errors in module mode resulted in a
base.Fatalf from the module loa...

github.com/hack-pad/go - c016133c50512e9a83e7442bd7ac614fe7ca62de authored over 2 years ago by Bryan C. Mills <[email protected]>
database/sql: make WAIT tests more robust, rely on waiter trigger

Replace the WAIT query prefix with a function callback.
This fixes timing issues when the testin...

github.com/hack-pad/go - a289e9ce7514a34cd930469322395bf0e89b59ea authored over 2 years ago by Daniel Theophanes <[email protected]>
testing: panic in Fuzz if the function returns a value

Otherwise, the behavior of a fuzz target that returns an error could
be confusing.

Fuzz is alre...

github.com/hack-pad/go - f985833dec19b0147db3c5c33d3bf0181891d458 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: set go.work path using GOWORK, and remove -workfile flag

This change removes the -workfile flag and allows the go.work file path
to be set using GOWORK (...

github.com/hack-pad/go - 5d8d3878496918d51347422d651629975343b18e authored over 2 years ago by Michael Matloob <[email protected]>
time: document that Parse truncates to nanosecond precision

For #48685
Fixes #50806

Change-Id: Ie8be40e5794c0998538890a651ef8ec92cb72d3a
Reviewed-on: https...

github.com/hack-pad/go - 293ecd87c10eb5eed777d220394ed63a935b2c20 authored over 2 years ago by Ian Lance Taylor <[email protected]>
net: increase maximum accepted DNS packet to 1232 bytes

The existing value of 512 bytes as is specified by RFC 1035.
However, the WSL resolver reportedl...

github.com/hack-pad/go - 6e82ff83cfbef78aa60706c1a7167a31c30e7ef9 authored over 2 years ago by Ian Lance Taylor <[email protected]>
Revert "net: send EDNS(0) packet length in DNS query"

This reverts https://go.dev/cl/385035. For 1.18 we will use a simple
change to increase the acce...

github.com/hack-pad/go - d3c9ef57ce5a887f6eb3d87a22adf38ef4e651ee authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: in workspace mode, resolve replacements relative to their go.mod files

Fixes #51204

Change-Id: I41106b7d04120be5ba68573bd25fd33e985688de
Reviewed-on: https://go-revie...

github.com/hack-pad/go - d199ceffa89335efe0e314f07e6ac508834f8004 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/modfetch: avoid leaking a lockedfile.File in case of write errors

The go modules download command has a method called hashZip which checks the
hash of a zipped di...

github.com/hack-pad/go - 08ed4882aaa50c9629a3e8636b699ceff6592ad6 authored over 2 years ago by alex.schade <[email protected]>
runtime: enable sigPerThreadSyscall handling on android

CL 383434 forgot to enable these paths for android, which is still linux
just not via GOOS.

Fix...

github.com/hack-pad/go - b5af5c0834a57751fae78fefc922f5e9f5b50941 authored over 2 years ago by Michael Pratt <[email protected]>
runtime, syscall: reimplement AllThreadsSyscall using only signals.

In issue 50113, we see that a thread blocked in a system call can result
in a hang of AllThreads...

github.com/hack-pad/go - 0a5fae2a0e965024f692b95f7e857904a274fcb6 authored over 2 years ago by Michael Pratt <[email protected]>
runtime/internal/syscall: new package for linux

Add a generic syscall package for use by the runtime. Eventually we'd
like to clean up system ca...

github.com/hack-pad/go - 0b321c9a7c0055dfd3f875dea930a28690659211 authored over 2 years ago by Michael Pratt <[email protected]>
runtime: move doAllThreadsSyscall to os_linux.go

syscall_runtime_doAllThreadsSyscall is only used on Linux. In
preparation of a follow-up CL that...

github.com/hack-pad/go - 7a132d6f4e319b307f185c73a8492bfa706fe678 authored over 2 years ago by Michael Pratt <[email protected]>
go/types, types2: add tests for literals in type parameter lists

Add tests that verify consistent behavior of go/types and types2 with
respect to potentially amb...

github.com/hack-pad/go - 76bd8ea9e133293d2a8253f01f66c1ca9add64e6 authored over 2 years ago by Robert Findley <[email protected]>
go/parser, go/printer: fix parsing of ambiguous type parameter lists

This is a port of CL 370774 to go/parser and go/printer. It is adjusted
for the slightly differe...

github.com/hack-pad/go - dd7194b28ec7762ace737efc0f0a62c96cb4a4ad authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: drop column info when line number saturates

When line number saturates, we can end up getting non-monotonic
position info, because the start...

github.com/hack-pad/go - 1de2344af16125ae2fabed226f2fbb40a150238c authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: correct type of pointer difference on RISCV64

Pointer comparison is lowered to the following on RISCV64

(EqPtr x y) => (SEQZ (SUB <x.Type> x ...

github.com/hack-pad/go - 1ed30ca537a05b887f8479027b6363a03f957610 authored over 2 years ago by Cherry Mui <[email protected]>
net: in TestNotTemporaryRead, do not assume that a dialed connection has been accepted

Previously, TestNotTemporaryRead issued the Read on the Accept side of
the connection, and Close...

github.com/hack-pad/go - ada95e2807abbbab990c5c13a271e823e4e0a5cc authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: enable file shortening for lines starting with \t

Compiler errors now (as of 1.18) might start with a tab character,
for errors which take multipl...

github.com/hack-pad/go - 2d1dd4372211f6f9bcdc6a3e4623b5fd10cebdbf authored over 2 years ago by Keith Randall <[email protected]>
doc/go1.18: remove ppc regabi TODO as it's in the compiler section

Updates #47694

Change-Id: I55175988f193fb573339933e9ff0d4c49734b444
Reviewed-on: https://go-rev...

github.com/hack-pad/go - b2cb1bd0f5085adb830e4014142d23d704b71347 authored over 2 years ago by Jeremy Faller <[email protected]>
cmd/gofmt: limit to 200 concurrent file descriptors

Fixes #51164

Change-Id: Ia62723df7dc2af5ace3f2430385fff6c0d35cdb9
Reviewed-on: https://go-revie...

github.com/hack-pad/go - 9b773003fb3bf909bfc897787e4d1e54fdb80eca authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: have go work init use the -workfile flag

Change-Id: Idb4795bde699c919222953ec33fa1083798b2000
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - ecf3b39c2a65eb96ca44b9a2694852f12a433747 authored over 2 years ago by Michael Matloob <[email protected]>
net/http: deflake request-not-written path

When we receive an error writing the first byte of a request to a
reused connection, we retry th...

github.com/hack-pad/go - 3d7f83612390d913e7e8bb4ffa3dc69c41b3078d authored over 2 years ago by Damien Neil <[email protected]>
go/types, types2: no need to revert tparam renaming in inference results

This is a follow up to CL 385494. In early patch sets of that CL,
renamed type parameters were s...

github.com/hack-pad/go - 875a6d40107d560473d1590425a096dd4cee346f authored over 2 years ago by Robert Findley <[email protected]>
spec: highlight missing prose for easier review, fixed a few sections

The (temporary) highlights will make it easier to review the spec
in formatted form as opposed t...

github.com/hack-pad/go - badbc52d82b1f97861bf30457014fc9ea19dfcb2 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: avoid infinitely recursive instantiation

Type inference uses type parameter pointer identity to keep track of the
correspondence between ...

github.com/hack-pad/go - 93b5309f0a239ad6a855d698c89731ff73570b47 authored over 2 years ago by Robert Findley <[email protected]>
test: add notinheap test that caused a gofrontend crash

Change-Id: Ie949f2131845f9f9292caff798f6933648779122
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - 16b1893600b4f367c6503b512832dea565f9621b authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: add additional tests using core types during unification

This change adds tests that use a type parameter's core type during
function argument type infer...

github.com/hack-pad/go - 5bd734839d9967f48184431b978c2dabb39c8953 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: unify core types for unbound type parameters

NOTE: Should this change cause problems, the new functionality
can be disabled by setting the fl...

github.com/hack-pad/go - f03ab0e0140544abfb10698b9171a91f9dd9c7a5 authored over 2 years ago by Robert Griesemer <[email protected]>
net: send EDNS(0) packet length in DNS query

We used to only accept up to 512 bytes in a DNS packet, per RFC 1035.
Increase the size we accep...

github.com/hack-pad/go - f14ad78e844d7dff286421754c462886336b1eb6 authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: better error message for invalid array length

If an invalid array length is just an identifier, mention
"array length" so that it's clear this...

github.com/hack-pad/go - badba359da9f09dfd75d81c7175b78eb1dbc998f authored over 2 years ago by Robert Griesemer <[email protected]>
[dev.boringcrypto] misc/boring: use go install cmd@latest for installing command

"go get cmd" is deprecated.

Change-Id: I2242764c79b5e4c3ff94e5323d6504b596bdc9e2
Reviewed-on: h...

github.com/hack-pad/go - 8521d1ea346212bcdabe15b4e157b3a2f2ca95f4 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile, runtime: use unwrapped PC for goroutine creation tracing

With the switch to the register ABI, we now generate wrapper
functions for go statements in many...

github.com/hack-pad/go - bcee121ae4f67281450280c72399890a3c7a7d5b authored over 2 years ago by Cherry Mui <[email protected]>