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

internal/fuzz: fix TestUnmarshalMarshal on MIPS

Previous value used in the float32 roundtrip used float32(math.NaN())-1
which caused the quiet/s...

63bd6f68e6cbb237b46a99775103758afaee370a authored over 2 years ago by Roland Shoemaker <[email protected]>
test: add test case for #51521

The test case is already working with unified IR, so add it to make
sure we don't regress while ...

d1820f748f8d63da8ef602e53d1db224f072be8f authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: add itabs to unified IR dictionaries

This CL changes unified IR to include itabs in its serialized
dictionary format.

Change-Id: I33...

ac3ba9790762113bbc4ce1e8068654ce9579d3d6 authored over 2 years ago by Matthew Dempsky <[email protected]>
test: additional generic type switch test coverage

None of the current generic type switch test cases exercise type
switches where the instantiated...

d168c4f29682e032a14bb8f5ca23af08a6834635 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: represent derived types with ir.DynamicType in unified IR

This CL switches unified IR to using ir.DynamicType for derived
types. This has an immediate eff...

0e2f1abf5b764a4a3928a2f4f050144063c46a93 authored over 2 years ago by Matthew Dempsky <[email protected]>
flag: make tests silent

A few of the tests were printing garbage to stderr,
since FlagSet's default Output is os.Stderr:...

8893175c3b5267f1eb70c518b5de6f03037c4d03 authored over 2 years ago by Daniel Martí <[email protected]>
cmd/compile: remove unneeded type alias code in unified IR

Before #46477, the Go generics proposal allowed `type T = U` where `U`
was an uninstantiated gen...

82a65299050cb1146583c72350f841684256bb3c authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix reentrancy issue in unified IR function body reading

We shouldn't need to read in function bodies for new functions found
during inlining, but someth...

7c292ddf1f883698b3a0bab7004368cff62a04a5 authored over 2 years ago by Matthew Dempsky <[email protected]>
all: fix some typos

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

da2773fe3e2f6106634673a38dc3a6eb875fe7d8 authored over 2 years ago by Dan Kortschak <[email protected]>
fmt: clarify right-padded strings use spaces

Fixes #51419

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

45f45444b307cea7c8330b100b30382e642e010f authored over 2 years ago by Adam Shannon <[email protected]>
math: don't use integer division that truncates to zero

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

2981fc7f1676ca79e487ba3c1df06e5e60723483 authored over 2 years ago by Dan Kortschak <[email protected]>
syscall: use dup3 in forkAndExecInChild on OpenBSD

Use dup3(oldfd, newfd, O_CLOEXEC) to atomically duplicate the file
descriptor and mark is as clo...

55a60cadc3f5d01f76ac9435da2ed941e194a29b authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/go: clarify error from 'go install' when arguments have mismatched versions and paths

Fixes #51196.

Change-Id: I0ee4d8234f11e4f3b71b81546518647e07fafd7d
GitHub-Last-Rev: 8fd1a77adff...

bf97c99b62fe7d6652cc8c807dbc91998d488a01 authored over 2 years ago by uji <[email protected]>
encoding/xml: improve the test coverage, fix minor bugs

Improve the test coverage of encoding/xml package by adding
the test cases for the execution pat...

e79c39f004769fc55e60c2fb052155486295d533 authored over 2 years ago by Iskander Sharipov <[email protected]>
internal/fuzz: handle Inf/NaN float values

Fixes #51258

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

2b8aa2b734721487bb718ee5fb6080f51b57efd9 authored over 2 years ago by Roland Shoemaker <[email protected]>
crypto/sha512: fix stack size for previous change

In a recent change CL 388654 a function was updated so it
no longer needed stack space, but the ...

7d7b9bbc7a37d3b83936a8caea08e0be7240a125 authored over 2 years ago by Lynn Boger <[email protected]>
doc/go1.19: mention use of EDNS(0)

For #51153

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

797e8890463671b96fb0af8ed151101950d76999 authored over 2 years ago by Ian Lance Taylor <[email protected]>
syscall: remove TestRlimit

It's more trouble than it's worth. New code should be using x/sys/unix
anyhow.

Fixes #40564
Fix...

1e122e3894bd12407b0043ab25c2a5f665b3f6e5 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: avoid rebuilding itself in TestMain

An extra "go build" was happening, for the sake of -tags=testgo,
which would insert some extra b...

ca384f76296af68b874cf9305a78ca5269c20956 authored over 2 years ago by Daniel Martí <[email protected]>
crypto/rand: use fast key erasure RNG on plan9 instead of ANSI X9.31

This should be a bit faster and slicker than the very old ANSI X9.31,
which relied on the system...

46afa893ebf85e23dd820a11e6007a9adb503419 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
crypto/rand: separate out plan9 X9.31 /dev/random expander

The X9.31 expander is now only used for plan9. Perhaps once upon a time
there was a use for abst...

c9b60632ebb08a428a9bd15a89798a693667cb05 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
crypto/ed25519/internal/edwards25519: sync with filippo.io/edwards25519

Import the following commits (and minor comment fixes):

* 17a0e59 - field: fix heap escape ...

27ec2bf0dd67a11036626cef26899df7280b0000 authored over 2 years ago by Filippo Valsorda <[email protected]>
runtime: support cgo traceback on linux arm64

Code essentially mirrors AMD64 implementation.

Change-Id: Ie97627a3041d1858fb1a30d2fc500302ab40...

81767e23c2f0e3edf0a329d9f00f5683c9851692 authored over 2 years ago by eric fang <[email protected]>
cmd/go: add links to workspaces reference and tutorial to go help work

For #45713

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

1eb1f621da20d7c93ac0312e59c08afbde4d9f56 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/go: error out of 'go work use' if no directories are given

Otherwise, the behavior of 'go work use -r' (without arguments)
may be surprising.

Change-Id: I...

4f8094386c3c015f6b6f3efc3a002d188433d388 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: make paths consistent between 'go work init' and 'go work use'

Fixes #51448

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

87a345ca3849a68de13f29bdc7628f2943734946 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: remove fallback to pipe on platforms with pipe2

On Linux, the minimum required kernel version for Go 1.18 was be changed
to 2.6.32, see #45964. ...

9d34fc5108d91bfcce3c465069dbb2c563af4229 authored over 2 years ago by Tobias Klauser <[email protected]>
runtime: count spill slot for frame size at finalizer call

The finalizer is called using reflectcall. When register ABI is
used, the finalizer's argument i...

58804ea67a28c1d8e37ed548b685bc0c09638886 authored over 2 years ago by Cherry Mui <[email protected]>
syscall, runtime/internal/syscall: always return 0 in r2 on ppc64{,le} linux syscalls

Both endians perform syscalls similarly. Only CR0S0 and R3 hold
the resultant status of a syscal...

78070ec3d44fdd8e60271abf31f056aeac919cc3 authored over 2 years ago by Paul E. Murphy <[email protected]>
api: update next.txt for binary.AppendByteOrder interface

CL 386017 added new API for encoding/binary package.
This file was accidentally not updated in t...

ef92828bb9ffd77d6f08e402225557256b11cfad authored over 2 years ago by Joe Tsai <[email protected]>
go/types, types2: fix scoping for iteration variables declared by range clause

Also correct scope position for such variables.
Adjusted some comments.

Fixes #51437.

Change-I...

d3fe4e193e387f250ba53a80f669eac465b1641d authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/asm,cmd/compile: generate preferred nop on PPC64

The preferred form of nop is ori 0,0,0. What was being generated was
or 0,0,0.

Fix a quirk in t...

86371b0360302b68c29f5eb39b02b82a52e0e341 authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/sha256: adapt ppc64le asm to work on ppc64

Workaround the minor endian differences, and avoid needing to
stack a frame as extra VSRs can be...

29c1355326c372ddb873b7d62d33140deda1681c authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime: fix 32B backward copy on ppc64x

The test to enter the 32b copy loop always fails, and execution
falls back to a single 8B/iterat...

d82c294da778a789099f3b52cd9c34ef0d798465 authored over 2 years ago by Paul E. Murphy <[email protected]>
sort: use a different codegen strategy

The existing codegen strategy in sort.go relied on parsing the sort.go source
with go/ast and a ...

da6f9a54edb85365bb345b057cdc26e2527401c8 authored over 2 years ago by Eli Bendersky <[email protected]>
crypto/aes: improve performance for aes-cbc on ppc64le

This adds an asm implementation of aes-cbc for ppc64le to
improve performance. This is ported fr...

2c6700739a6275b78a6af62707fd41783622061b authored over 2 years ago by Lynn Boger <[email protected]>
cmd/go: ignore the workspace when running a package at a specified version

For #51390

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

86b5f6a7be707b9d84108df6f459c7e84bf9dbac authored over 2 years ago by Bryan C. Mills <[email protected]>
testing: include ERROR_SHARING_VIOLATION in Windows cleanup retries

Fixes #51442
Updates #50051

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

eeb9f095dc13a6beed41db0e734b6ae1e97f15d1 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: use stp/ldp to save and restore all registers on arm64

Async preemption needs to save and restore almost all of the registers,
currently this is done b...

2e9facbdd44883221fc90b8057d0443d1a8109e9 authored over 2 years ago by eric fang <[email protected]>
net: send EDNS(0) packet length in DNS query

Advertise to DNS resolvers that we are willing and able to accept up
to 1232 bytes in a DNS pack...

301fd8ac8b6cd93708ad536eb054e1b081982a9b authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: don't include instantiating types in type hash

This CL is a bit overkill, but it is pretty safe for 1.18. We'll
want to revisit for 1.19 so we ...

d3672054fb58d5eaa241f15fa9d7fb9d61e9ac05 authored over 2 years ago by Keith Randall <[email protected]>
doc: start draft of go1.19 release notes, move go1.18 to x/website

This template is based on CL 342070 and previous ones like it.
Continue to eagerly include often...

bcb89fc17a0ff8b588a8d413fa120cc89e053561 authored over 2 years ago by Carlos Amedee <[email protected]>
doc/go1.18: warn about possible breakage of 1.18 generic code

The Go 1 compatibility guarantee permits us to break code if there is
a specification error or a...

2cb9e116d39176bd8a93609c63b175ac09eacea9 authored over 2 years ago by Ian Lance Taylor <[email protected]>
doc: mention change in append behavior

Introduced in CL 347917.

Change-Id: I99b34341f787e779bd45b967110e70a035fa6558
Reviewed-on: http...

9eb14f1b0e748c74f6a7da4cd195db860928cfbc authored over 2 years ago by Keith Randall <[email protected]>
crypto/sha512: add BE support to PPC64 asm implementation

This adds big endian support for the assembly implementation of
sha512. There was a recent reque...

fc5b64e19b8e9719b88fd1a8e3a9fa033c5bc1b4 authored over 2 years ago by Lynn Boger <[email protected]>
encoding/binary: add AppendByteOrder

AppendByteOrder specifies new methods for LittleEndian and BigEndian
for appending an unsigned i...

986b04c0f12efa1c57293f147a9e734ec71f0363 authored over 2 years ago by Joe Tsai <[email protected]>
reflect: allow Value.Bytes on addressable byte arrays

Modify Value.Bytes to be callable addressable byte arrays.
While related, the behavior of Value....

a5b8b56d1d05d186999e4abf1e2147b6aa203ec9 authored over 2 years ago by Joe Tsai <[email protected]>
cmd/go: allow users to specify required fields in JSON output

For #29666

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

ec4687f337465b719efdeef72b357fa0b05879bb authored over 2 years ago by Michael Matloob <[email protected]>
syscall: remove accept on Linux

accept is no longer used on Linux since CL 346849 changed Accept to use
accept4 only.

For #4596...

6c6a8fb702fcf3c2d23dc68976a831b2bdcad03e authored over 2 years ago by Tobias Klauser <[email protected]>
encoding/json: use reflect.Value.UnsafePointer over Pointer

The latter returns a uintptr, while the former returns a unsafe.Pointer.
A uintptr is unsafe if ...

5a03cbd12a2fcaf85482f1f4d9570c064510da9b authored over 2 years ago by Joe Tsai <[email protected]>
compress/gzip: return unexpected EOF for certain truncated streams

For cases where RFC 1952 requires a field, the code returns the error
io.ErrUnexpectedEOF except...

4a13f6f42ded127dc0d097f7d1f89916cbd9e729 authored over 2 years ago by Phil Bracikowski <[email protected]>
cmd/link: don't generate typedef DWARF entry for noalg.struct{...}

cmd/compile uses "noalg.struct {...}" as type name when hash and eq algorithm generation of this...

f79a983891123f57dd7d37d09a51a287ac6d4cad authored over 2 years ago by MoZhonghua <[email protected]>
regexp: fix typo in the overview

Correct the slice expression in the description of Index functions.

Change-Id: I97a1b670c4c7e60...

40e24a942bce7b10e23a7282e673ac8a758ca378 authored over 2 years ago by Jinwook Jeong <[email protected]>
unicode/utf8: optimize Valid to parity with ValidString

The benchmarks added in this change revealed that ValidString
runs ~17% faster than Valid([]byte...

fd2e1e743a86a53a30427cf3606543ecc9bd60bd authored over 2 years ago by Alan Donovan <[email protected]>
go/token: slight performance improvement for IsIdentifier

If name is empty or a keyword, we can skip the loop entirely.
Otherwise, we do the same amount o...

bebe9aa42322f951fc3972c263648297bf9e04d4 authored over 2 years ago by chanxuehong <[email protected]>
math/big: produce valid JSON in Int.MarshalJSON when nil

Fixes #50940.

Change-Id: Ie2a0c4505ca9d7e448017d9d00a020a6b3996be3
GitHub-Last-Rev: afd8c6b5598...

9f1239b90a7a48c5dc68a7eee08d8e1fba56db80 authored over 2 years ago by cuiweixie <[email protected]>
go/types, types2: clarify a comment and add an extra test

Confirm that the current implementation of core type unification
looks correct and update the re...

6da16b6ad5787a043fc9978d2d009934e3b2e165 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: correctly consider ~ (tilde) in constraint type inference

When doing constraint type inference, we must consider whether the
constraint's core type is pre...

0807986fe6bf6040bafa9c415ab72e4cc8e519a4 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: include all entries in map literal hint size

Currently we only include static entries in the hint for sizing
the map when allocating a map fo...

aaa3d39f270d7b9957f34f3d2a68decba63beffe authored over 2 years ago by Keith Randall <[email protected]>
internal/pkgbits: add version number

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

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 ...

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...

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...

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...

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...

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...

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).

...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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 ...

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 ...

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...

f04d5c118c2ccd058a3fb81586f92c8b29b373ae authored over 2 years ago by Tobias Klauser <[email protected]>
all: fix typos

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

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...

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...

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...

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,...

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 ...

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...

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...

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...

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...

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...

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 ...

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...

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...

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...

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....

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...

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...

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 ...

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...

5a9fc946b42cc987db41eabcfcbaffd2fb310d94 authored over 2 years ago by Bryan C. Mills <[email protected]>