]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: don't expand invalid embedded interface
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 4 Mar 2021 07:40:50 +0000 (14:40 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Fri, 5 Mar 2021 18:46:16 +0000 (18:46 +0000)
commit80098ef00c1c8a832b2d67d7cbd4dea5f8eff6e9
tree72893010f480b844d0c0074b2cb8208161027fcc
parent70b277cf2e953bb9994b00898280f4659a47471e
cmd/compile: don't expand invalid embedded interface

The invalid interface type will be reported already, so don't expand
that invalid one, which causes the compiler crashes.

Updates #43311

Change-Id: Ic335cfa74f0b9fcfd0929dc5fd31d9156a8f5f5c
Reviewed-on: https://go-review.googlesource.com/c/go/+/298710
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/types/size.go
test/fixedbugs/issue20245.go
test/fixedbugs/issue22921.go
test/fixedbugs/issue27938.go