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

go/types, types2: make each method instantiation independently lazy

Method signatures can introduce a significant number of edges into the
type graph. One can imagi...

b66bc0a9d5eba193f7d7f4977ca64a77527f4b3b authored over 2 years ago by Robert Findley <[email protected]>
test: add a new test absdiff3.go which uses function callback

We have disallowed having a typeparam on the right-hand-side of a type
declaration. So, we disab...

078ddecc327a20cec4751e66911197409e01f6d9 authored over 2 years ago by Dan Scales <[email protected]>
cmd/compile: new absdiff.go test, fix problem with g.curDecl

Added a new absdiff2.go test case, which works fully without using a
typeparam on the right-hand...

16d6a5233a183be7264295c66167d35c689f9372 authored over 2 years ago by Dan Scales <[email protected]>
go/types, types2: pass the seen map through _TypeSet.IsComparable

While checking comparability of type parameters, we recurse through
_TypeSet.IsComparable, but d...

84eefdc933410907495e42aac872036403851ffa authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: reorder object processing to avoid broken aliases

By processing non-alias type declarations before alias type declaration,
and those before everyt...

671e1150c680eb5f21833662362954cc1b155d2b authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: report an error when using a broken alias

The type checker doesn't have a general mechanism to "use" the type
of a type alias whose type d...

fe85c244315f82b1a6a21cd6ddc0255eed92a357 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: slightly better tracing output (debugging support)

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

fef14fdd1dc9106f872e75aae4fcd814abc47080 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consider type parameters for cycle detection

In validType, when we see an instantiated type, proceed as with
non-generic types but provide an...

2abfa30f9e0041e932411816ba07d68060eec304 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: in SetUnderlying, set Named.fromRHS if not set yet

This is necessary for cycle detection over imported types whose
underlying types are set by impo...

7520c080b45e9493b289d622aed8d8a0da528089 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: remove special case for external types in validType

Because validType doesn't modify global state anymore, there's
no need to ignore imported types....

9dfd458e64a2d3fa92fb7b5da393163151f99cf2 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: validType argument must be *Named type

Now that we have a separate top-level entry point for validType
we can use the more narrow type ...

cdd9e939ef28390ecb04c780499f1e3cc2195234 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use a map instead of a field for marking in validType

With this change validType doesn't modify global state anymore.
It also eliminates the need for ...

4284d4555382ec9da4b301afe328faf850158ffb authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: move validType code into its own file

The validType check is independent of the work of declaring objects.
Move it into a separate fil...

0328b4f4cae6d2340ded9a7d2ce850b98d3bbcbe authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: always print stack trace for -dpanic

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

b850f3629fa9c2dfb6a94a3d0e472a0cc87b949c authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types: panic if named type instances are mutated

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

48ec6df16c285cda50bd38970b82402e8c46919b authored over 2 years ago by Robert Findley <[email protected]>
runtime: replace TestFutexsleep with TestTimediv

TestFutexsleep was originally created in CL 7876043 as a
regression test for buggy division logi...

97e740e8b0ff1b32b164b0cbef06c12c4d591f3f authored over 2 years ago by Michael Pratt <[email protected]>
cmd/compile: distinguish bound calls/field access in getInstInfo

Given we have support for field access to type params with a single
structural type, we need to ...

f88c3b9f4d087895c3eab5ac4dd8459c76d0d0d8 authored over 2 years ago by Dan Scales <[email protected]>
cmd/compile: improve comments, mainly in cmd/compile/internal/types

Add some useful comments, mainly relates to types.Type. (No non-comment
changes.)

Change-Id: I3...

f9df4ea0c9426eecb93375d31e36cccf95b46e1f authored over 2 years ago by Dan Scales <[email protected]>
runtime: call fflush before exiting in C test

Very, very rarely TestVectoredHandlerDontCrashOnLibrary fails because
the C subprocess exits wit...

19d819d49c73c8e47749b3c4cbbc2e58a259269a authored over 2 years ago by Austin Clements <[email protected]>
Revert "cmd/go: evaluate root symlink in matchPackages"

This reverts CL 380057.

Reason for revert: appears to have broken x/tools tests on macOS.

Chan...

0ef6dd74409506eb084bd8d2fe61e0e70ed9e5a4 authored over 2 years ago by Bryan Mills <[email protected]>
spec: minor formatting and link cleanups

Mostly from CL 367954.

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

b7fa0f941f05fdf8420f15cd5ebe2f209da172e0 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: evaluate root symlink in matchPackages

This fixes checks for crossing module boundaries when the root of
the module is a symlink. We're...

35b0db7607a33da662a510f85d30f18cd40c1149 authored over 2 years ago by Michael Matloob <[email protected]>
runtime/pprof: TestLabelSystemstack parallelLabelHog.func1 must be labeled

The closure in parallelLabelHog should be labeled in a addition to
parallelLabelHog itself. Gene...

9eba5ff5219a76c3c4e020fa27e966a226174d7e authored over 2 years ago by Michael Pratt <[email protected]>
Revert "doc/go1.18: document type parameter name restriction"

This reverts CL 376414.

For #47694.
For #50481.

Change-Id: Ie73961046e52e6e5d3262ef0aeaa24bec7...

d15481b8c7f5f73a8b987a0c1deea04659ed0bb0 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: make sure multiple blank typeparams remain unique

In a method declaration "func (f *Foo[_, _]) String() string { ... }",
the two blank typeparams ...

32636cd1ffc6cd9ef81d09b8320d2aaad4a21117 authored over 2 years ago by Dan Scales <[email protected]>
runtime: remove -tags=threadprof in tests

Use an enviroment variable rather than a build tag to control starting
a busy loop thread when t...

2c2e08144f79d8746384c2a483bf03532dc0c443 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: ignore replaces of main modules in workspace modules

And disallow replaces of any main modules in the go.work file itself.

Change-Id: Ifa9ba9eaed047...

65535bfe6dad2cb7535f6a5647b288e4489608f9 authored over 2 years ago by Michael Matloob <[email protected]>
runtime/pprof: allow labels on racecall in TestLabelSystemstack

Fixes #50705.

Change-Id: I85857f836cbe58447625df6cd56756d3a69880ff
Reviewed-on: https://go-revi...

59122f85bd3a1231dd5b49fa83319d634bc96f23 authored over 2 years ago by Michael Pratt <[email protected]>
go/types, types2: use Identical rather than unification in missingMethod

Now that we instantiate methods on instantiated types, there is no need
to use unification to ma...

9284279b44418b52221b4d68d400fa9220521726 authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile/internal/importer, gcimporter: use *TypeParam as tparamIndex map value

This is a map from identifiers to type parameters, use *TypeParam
as map value instead of Type.
...

e7d5857a5a82551b8a70b6174ec73422442250ce authored over 2 years ago by Robert Griesemer <[email protected]>
regexp: add the missing is

Change-Id: I23264972329aa3414067cd0e0986b69bb39bbeb5
GitHub-Last-Rev: d1d668a3cbe852d9a06f03369e...

e4ab8b0fe6d34c6cbfe29031a9c4df58ac1c452f authored over 2 years ago by luochuanhang <[email protected]>
runtime: print error if mmap fails

Fixes #49687

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

bb7fb8a5fac1ad9570c554c366826d649350acbe authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: add early a CONVIFACE normally created in the order phase

Most CONVIFACEs are created in the transform phase (or old typechecker,
in -G=0 mode). But if th...

c1296af151f5682f6e0cd88cd0372aca5a464a97 authored over 2 years ago by Dan Scales <[email protected]>
go/types, types2: use orig. compiler error message for a shift error

Slightly better for cases such as string(1 << s).
Leaves type-checker tests alone for now becaus...

1efc5815dd316953a8f37e58f7e3542a6aac3adf authored over 2 years ago by Robert Griesemer <[email protected]>
doc/go1.18: don't mention -buildinfo flag

It was removed in CL 378576.

For #50501

Change-Id: I26b8f0e99a40fa5c616aa4849a6ab15dd0d072f8
R...

a4d3c73ac3cc109ac2088beadf4d51987a60c625 authored over 2 years ago by Ian Lance Taylor <[email protected]>
runtime/pprof: compare all samples vs rusage in TestCPUProfileMultithreadMagnitude

TestCPUProfileMultithreadMagnitude compares pprof results vs OS rusage
to verify that pprof is c...

d1640d86522c08e662eec86de985e9781e879e20 authored over 2 years ago by Michael Pratt <[email protected]>
go/types, types2: explicitly check for non-nil type in LookupFieldOrMethod

Document and enforce API expectation. Add a test so we don't
inadvertently change the function b...

efbecc7eff88a0d54f3ea9fca290e1808e197ae2 authored over 2 years ago by Robert Griesemer <[email protected]>
runtime/pprof: assert that labels never appear on unexpected samples

This makes TestLabelSystemstack much more strict, enabling it to detect
any misplacement of labe...

985d97e602cb39c7739c072250e09ba61e440318 authored over 2 years ago by Michael Pratt <[email protected]>
runtime: do not inherit labels on system goroutines

GC background mark worker goroutines are created when the first GC is
triggered (or next GC afte...

3e45eb3ce1f28ccb6e4150b6c2c09ca8568874e6 authored over 2 years ago by Michael Pratt <[email protected]>
runtime: eliminate arbitrary timeout in TestStackGrowth

Instead, allow the test to run up until nearly the test's deadline,
whatever that may be, and th...

bec2cc370871b998a131f5f363dab4a14b5f2eb2 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: don't elide extension for LoadReg to FP register on MIPS64

For an extension operation like MOWWreg, if the operand is already
extended, we optimize the sec...

d93ff73ae207763871bee38590242be968b2e743 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: deflake TestPreemptionAfterSyscall

This test occasionally takes very slightly longer than the 3 second
timeout on slow builders (es...

ca33b34e17b5f4673a40c894a4f807c01d1ecebe authored over 2 years ago by Austin Clements <[email protected]>
cmd/go: fix TestScript/version_buildvcs_git_gpg

This test was missed in CL 358539, presumably because the 'longtest'
builders lack a 'gpg' execu...

2a061fdd47ccb5420229ce5f9f057e194be76995 authored over 2 years ago by Bryan C. Mills <[email protected]>
spec: add another example for an invalid shift case

Fixes #45114.

Change-Id: I969e5f1037254fc0ffbba2fc07a81a3987e6b05f
Reviewed-on: https://go-revi...

4042194f2d9fd605bd8b6553043e8b195767c446 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: report error for invalid string(1 << s)

For #45114.
Fixes #45117.

Change-Id: I71d6650ae2c4c06952fce19959120f15f13c08a2
Reviewed-on: htt...

50869f377fd72a921d27e3522a05604b7753b3ab authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types, types2: avoid field/method lookup error on invalid types

Fixes #49541.

Change-Id: I27a52d0722a7408758682e7ddcd608c0a6c4881b
Reviewed-on: https://go-revi...

fa4df6597eb7ed07a9a835a8b68c37282709f79e authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: add missing copyright notice

Also, simplify one expression (missed comment on previous review).

Change-Id: Ic2d212442c2738e0...

626f13d0ca08f04f98e7a29a08028c21e38868c0 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile, go/types: restore 'too many return values' error for func with no results

Currently the code handles the case of returning values from
a function with no result parameter...

cf5d73e8a2ba8d382278c7f490db61e513768159 authored almost 3 years ago by Russ Cox <[email protected]>
doc/go1.18: add a release note for 'go mod tidy' checksum changes

Updates #47738
Fixes #49598

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

71888fe4b0d804f44371944f93f12442a6b0a862 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/compile, go/types: fix checking of bad type switch

Consider the following program:

package p

func f() {
x := 1
v := 2
switch v.(type) {
...

46f138f288cf5c8a34cf5688cb6bea9deafb4f84 authored almost 3 years ago by Russ Cox <[email protected]>
net/http: skip TestClientTimeout_Headers_h{1,2} on windows/arm and windows/arm64

This extends the skip added in CL 375635 to the "_Headers" variant of
the test, since we have ob...

75bcdd59635a33e2a210ef6b02f5e3814571de4b authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/compile: support field access for typeparam with structural constraint

In the compiler, we need to distinguish field and method access on a
type param. For field acces...

ef4be98abd699c6f059dcac6dc6dfe5774cbf257 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/go: remove the -buildinfo flag

Fixes #50501
(in a sense, by removing a flag that looks like it should do something
it does not)...

d54f6630703900948d9757487a1bffd87b7d36e2 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/dist: avoid lapsing into x86 builds on ARM64 Macs

We use uname -m to decide the GOHOSTARCH default,
and on my ARM64 Mac laptop, uname -m prints x8...

5b3ebc8b72f496a5c6892d76fdeee3d9029b55cc authored almost 3 years ago by Russ Cox <[email protected]>
cmd/internal/obj/arm64: adjust rule for VMOVQ instruction

The VMOVQ instruction stores a 128-bit number into a V register, for
example:
VMOVQ $0x11223...

897b3da2e079b9b940b309747305a5379fffa6ec authored almost 3 years ago by eric fang <[email protected]>
runtime/race: be less picky about test run time

Currently, there are two regexps in the race detector output tests
that assume subtests will com...

3b5eec937018be98549dea7067964018f0e5824c authored almost 3 years ago by Austin Clements <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

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

d382493a20cf005c6631032ebb410a7c2bc768eb authored almost 3 years ago by David Chase <[email protected]>
Revert "cmd/dist: log CPU model when testing"

Fails TestRepeatBootstrap.

This reverts CL 371474.

For #50146.

Change-Id: Ie4adda4e0229e15347...

a99c38d66381b2a6abbc0d9c88feb3f6291cb245 authored almost 3 years ago by Michael Pratt <[email protected]>
Revert "cmd/dist: log OS version when testing"

Fails TestAllDependencies.

This reverts CL 371475.

For #50146.

Change-Id: I1feccd772d92d80e57...

07b995e5bba0c3fe04d6ba399c16abec485bcdaa authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/dist: log OS version when testing

As a follow-up to https://golang.org/cl/371474, add the OS version to
the metadata printed for e...

4f0c32de078b57958fa9c37c05bae4ee1f8193e5 authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/dist: log CPU model when testing

Knowing whether test failures are correlated with specific CPU models on
has proven useful on se...

1302f93c4e1eae0e625b372f9bb6bb48780af30f authored almost 3 years ago by Michael Pratt <[email protected]>
debug/elf: do not read unrelated bytes for SHT_NOBITS sections

SHT_NOBITS sections do not occupy space in the file and their offset is
"conceptual", reading th...

e4a6b84962cc2fb4f4b8bb532a84bab5bfd68d99 authored almost 3 years ago by Alessandro Arzilli <[email protected]>
runtime: skip known TestSegv failure mode on linux-mips64le-mengzhuo

Also adjust other skips to actually call t.Skip, so that the test
correctly shows as skipped ins...

9c6ecc49ca02c83f3081c30171ab40dd62557342 authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: fix net poll races

The netpoll code was written long ago, when the
only multiprocessors that Go ran on were x86.
It...

17b2fb1b656a275906b5071c562439d50a27f167 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/compile: add call to ImportedBody() when exporting shape inst body

When we export a shape instantiation, because a particular
fully-instantiated type is needed by ...

b41185c5c3da2d5f52b3b5aa7eb034addd458938 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile: stop interface conversions for generic method calls from allocating

Let T be a type parameter, and say we instantiate it with S, a type
that isn't pointer-like (e.g...

e550c3054586a224d949cc8fa030bac0887bee51 authored almost 3 years ago by Keith Randall <[email protected]>
testing: skip flaky TestRaiseException on windows-amd64-2012

This is in relation to #49681

Change-Id: I32ad8b506cf8fb0a94b15c3cc8b1eaf5af728c59
Reviewed-on:...

4f6f68ee4b50162d3bd01efb9b8a5f6a10dc54af authored almost 3 years ago by Patrik Nyblom <[email protected]>
cmd/compile: descend through types to find fully-instantiated types

In order to make sure we export the dictionaries/shape methods for all
fully-instantiated types ...

899d19ac8330648b4ced7a7787db41c04f07f79f authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile: unique LinkString for renamed, embedded fields

Using type aliases, it's possible to create structs with embedded
fields that have no correspond...

1a8b4e05b1ff7a52c6d40fad73bcad612168d094 authored almost 3 years ago by Matthew Dempsky <[email protected]>
database/sql: consolidate test polling loops

Also eliminate some arbitrary deadlines and sleeps.

Fixes #49958

Change-Id: I999b39a896e430e3b...

6891d07ee6a34f1c8d0326f3f7dd941bddf524f1 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: run go install in workspace mode

It's too confusing to users to run go install in module mode, so run
it in workspace mode instea...

3ff12a019f00bc81996c453e5cb4729a9278f65a authored almost 3 years ago by Michael Matloob <[email protected]>
cmd/go: reset modfetch state between modules in go work sync

go work sync resets the state in the modload package before each
iteration where it updates the ...

ce01afe907f7f37b465bda529a339a7a8b98c59e authored almost 3 years ago by Michael Matloob <[email protected]>
all: add a handful of fuzz targets

Adds simple fuzz targets to archive/tar, archive/zip, compress/gzip,
encoding/json, image/jpeg, ...

4fa6e33f30365a8bca374ab8bd47acd82b9faa96 authored almost 3 years ago by Roland Shoemaker <[email protected]>
doc: mention that GOAMD64 is a compile-time setting

Fixes #50589

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

24239120bfbff9ebee8e8c344d9d3a8ce460b686 authored almost 3 years ago by Keith Randall <[email protected]>
cmd/go: enable fuzz testing for FreeBSD

Add "freebsd" to GOOS for which sys.FuzzSupported() returns true
and add freebsd to the build ta...

f005df8b582658d54e63d59953201299d6fee880 authored almost 3 years ago by Ayan George <[email protected]>
go/types, types2: fix tracing output for type and expr lists

- support printing of expression and type lists in sprintf
- simplified some code in go/types/ex...

a4b6fc7b1ddcec937b605b76068f8e800c1487e2 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types, types2: prevent unification from recursing endlessly

This is a stop gap solution to avoid panics due to stack overflow
during type unification. While...

deb45802a4384ea3c7c3434113fb64a57a494cb2 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types, types2: make function type inference argument-order independent

If we have more than 2 arguments, we may have arguments with named and
unnamed types. If that is...

68b3d36ff4e71d68f25d36caff8b4ba2b3b9c980 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/ast: mention that FieldLists can now be enclosed by brackets

Type parameter lists are stored using ast.FieldLists. Update the
documentation to reflect that t...

83bfdb6561c06bd890446af01b0f0c735360a8df authored almost 3 years ago by Robert Findley <[email protected]>
Revert "all: add a handful of fuzz targets"

This reverts CL 352109.

Reason for revert: causing OOM failures on several builders, and may ca...

6e8b7e4f4213afb67a91050cb2d71347d73145aa authored almost 3 years ago by Bryan Mills <[email protected]>
go/types, types2: do not run CTI before FTI

Until now, CTI (constraint type inference) was run before
FTI (function type inference). This le...

3d3f5d912b776424e50be276bc3a4ae02bf8d143 authored almost 3 years ago by Robert Griesemer <[email protected]>
spec: adjust rules for specific types once more

Introduce a (local) notion of a set of representative types,
which serves as a representation/ap...

3df44722013b54790e97a32aff945708bd1b62f7 authored almost 3 years ago by Robert Griesemer <[email protected]>
all: add a handful of fuzz targets

Adds simple fuzz targets to archive/tar, archive/zip, compress/gzip,
encoding/json, image/jpeg, ...

9bce08999a4122a28daf99cde7f22cb023b79660 authored almost 3 years ago by Roland Shoemaker <[email protected]>
cmd/compile/types2, go/types: add position for "have" in failed interface satisfaction

With this change, we shall now see:

*myS does not implement S (wrong type for DoSomething m...

8070e70d64c5f82f1cf4c2079d97766e5da9775e authored almost 3 years ago by Emmanuel T Odeke <[email protected]>
cmd/compile: fix the names of methods created during type substitution

The names given to methods of types created during type substitution
were possible incorrect whe...

1ee70da3125cb6339c1bcb0c127cd97a9e1dbe90 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile: in typ0(), load base type before checking s.Def

The loading of the base type in typ0() may cause s.Def to be defined for
the instantiated type, ...

13c912d19252b9225fa96b9a5557575bbaffb570 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile: resolve dictionaries/shape methods in markInlBody, if needed

Issue #50552 is due to a problem with my recent improvement in the
interaction between generics ...

ad7eae21d5e75a0b1fe89db5f299490d6273c4cf authored almost 3 years ago by Dan Scales <[email protected]>
go/types, types2: mention type decl scopes in Info.Scopes documentation

We now may have a scope associated with a type declaration, so need to
update our API documentat...

a20724d63425ccb871c57d45e2401af2401518bc authored almost 3 years ago by Robert Findley <[email protected]>
cmd/compile: print "internal compiler error" message for all compiler panics

Change hidePanic (now renamed handlePanic) to print out the "internal
compiler error" message fo...

1abe9c1c73739786bb927342c4072e229affea8f authored almost 3 years ago by Dan Scales <[email protected]>
runtime: improve asanread/asanwrite nosplit comment

Explain the conditions under which they are called on stacks that
cannot grow.

Change-Id: I08ee...

1cc3c735802f93eaf74b21795b8027163318ace1 authored almost 3 years ago by Austin Clements <[email protected]>
test: workaround SIGILL on issue11656 on aix

For some reason, aix sometimes executes the bogus function body. This
should never happen as it ...

c7fa66179b51bc90612f564f2cb3afbc1b21d511 authored almost 3 years ago by Paul E. Murphy <[email protected]>
cmd/go: skip TestScript/test_fuzz_test_race on !race

Skip the test on targets which don't support the race detector. This
fixes the linux-386-longtes...

28f2869a0d8ae103e0a2aac7c68005d79099f1e1 authored almost 3 years ago by Tobias Klauser <[email protected]>
test: re-enable most go/tests that were disabled because of types2 differences

I made the default be that, where there are differences between types2
and -G=0 error messages, ...

90a8482a176b8cf47e8b24a3459f0a24e038f675 authored almost 3 years ago by Dan Scales <[email protected]>
go/types, types2: refer to type parameter if so for interface pointer errors

Follow-up on comment in CL 376914.

Also:
- add missing check != nil test in assignableTo
- use ...

4ceb5a94d83b823fe7c3e4d25541854759651933 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types, types2: better error message for type parameter field access

Fixes #50516.

Also call DefPredeclaredTestFuncs in TestFixedbugs so it can be
run independently...

91edf2b7f2fe219f1af1df4031a210d8160da47c authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types, types2: better error message when using *interface instead of interface

- detect *interface case and report specific error
- replaced switch with sequence of if's for m...

6019a52d4dab7c243ee9088c3522c821c0c95cfa authored almost 3 years ago by Robert Griesemer <[email protected]>
testing: only snapshot coverage during fuzzing

Only snapshot/reset coverage counters when we are actually fuzzing.
This prevents a race when ru...

1f411e9b6d8849014653c89a9df77b8aadd082e6 authored almost 3 years ago by Roland Shoemaker <[email protected]>
cmd/compile: use exact constant in go_asm.h

Fixes #50523

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

8b9b365493220a7bfd87fd3c27301e43baa35a0d authored almost 3 years ago by Ian Lance Taylor <[email protected]>
Revert "cmd/compile: unique LinkString for renamed, embedded fields"

This reverts CL 372914.

Reason for revert: missing synchronization

Change-Id: I7ebb6de082cebb7...

55d10acb72c2dc5524aae69ade560f3cf308a864 authored almost 3 years ago by Matthew Dempsky <[email protected]>
cmd/compile, test: updated comments in crawler.go, added test

Added a test to make sure that the private methods of a local generic
type are properly exported...

7de2249a08aab44c512d0ea86f50481d76e135f1 authored almost 3 years ago by Dan Scales <[email protected]>