Skip to content

go/types, types2: data race to interface typeset #61561

Closed
@findleyr

Description

@findleyr

Discovered in the trybot failures of https://go.dev/cl/512636.

There's a data race to interface type set computation. I don't know how it's gone undetected for so long: the interface type set is unguarded, and instantiated interfaces are not completed.
https://cs.opensource.google/go/go/+/master:src/go/types/interface.go;l=29;drc=97f843b51f69f392bb09b24c077aca505e519551

Whatever the fix, I think we should consider back porting to 1.21+1.20.

CC @griesemer

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions