]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: print expression for invalid operation errors
authorLeonard Wang <wangdeyu0907@gmail.com>
Sun, 19 Sep 2021 16:23:40 +0000 (00:23 +0800)
committerRobert Griesemer <gri@golang.org>
Mon, 27 Sep 2021 03:07:49 +0000 (03:07 +0000)
commitff8a7e513bda9e89dfbde8ecefaa4514c11ec596
tree00463ced040fb69fcc8b6c68e63e0ec6413ea694
parentaeea5bacbf79fb945edbeac6cd7630dd70c4d9ce
cmd/compile: print expression for invalid operation errors

For #48472

Change-Id: I5072ebcf53e03fb5515c51a2ad01f02d72b30719
Reviewed-on: https://go-review.googlesource.com/c/go/+/350929
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: David Chase <drchase@google.com>
src/cmd/compile/internal/types2/expr.go
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48472.go2 [new file with mode: 0644]
src/go/types/expr.go
src/go/types/testdata/fixedbugs/issue48472.go2 [new file with mode: 0644]