]> Cypherpunks repositories - gostls13.git/commit
go/types: fix incorrect context when type-checking interfaces
authorRobert Griesemer <gri@golang.org>
Tue, 27 Feb 2018 22:02:09 +0000 (14:02 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 28 Feb 2018 18:22:16 +0000 (18:22 +0000)
commite2b5e6038ba35b964edae155bd74764fd4d9ade5
treeb7387384a79fcab870905d7e075c3707ec9d881f
parent91a05b92bedc976009b967d3e3bcbbe6353eb4a6
go/types: fix incorrect context when type-checking interfaces

Regression, introduced by https://go-review.googlesource.com/c/go/+/79575
which meant to be more conservative but ended up destroying an important
context.

Fixes #24140.

Change-Id: Id428dbb295ce9f11ab7cd54ec5ab51ef4291ac3f
Reviewed-on: https://go-review.googlesource.com/97535
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/testdata/issues.src
src/go/types/typexpr.go