1
0
mirror of https://github.com/golang/go synced 2024-11-24 13:40:19 -07:00
go/test/interface
Daniel Morsing 1c2021ca14 cmd/gc: Suggest *T in error for x.(T) if it would work.
Accomplished by synchronizing the formatting of conversion errors between typecheck.c and subr.c

Fixes #3984.

R=golang-dev, remyoudompheng, rsc
CC=golang-dev
https://golang.org/cl/6500064
2012-09-01 13:52:55 -04:00
..
bigdata.go test/interface: document tests 2012-02-19 17:33:41 +11:00
convert1.go test/interface: document tests 2012-02-19 17:33:41 +11:00
convert2.go test/interface: document tests 2012-02-19 17:33:41 +11:00
convert.go test/interface: document tests 2012-02-19 17:33:41 +11:00
embed0.go test: use testlib in a few more cases 2012-03-22 02:14:44 +08:00
embed1.go test/interface: document tests 2012-02-19 17:33:41 +11:00
embed2.go test/interface: document tests 2012-02-19 17:33:41 +11:00
embed.go test/interface: document tests 2012-02-19 17:33:41 +11:00
explicit.go cmd/gc: Suggest *T in error for x.(T) if it would work. 2012-09-01 13:52:55 -04:00
fail.go test/interface: document tests 2012-02-19 17:33:41 +11:00
fake.go test/interface: document tests 2012-02-19 17:33:41 +11:00
noeq.go test/interface: document tests 2012-02-19 17:33:41 +11:00
pointer.go test/interface: document tests 2012-02-19 17:33:41 +11:00
private1.go test: use testlib in a few more cases 2012-03-22 02:14:44 +08:00
private.go test/interface: document tests 2012-02-19 17:33:41 +11:00
receiver1.go test/interface: document tests 2012-02-19 17:33:41 +11:00
receiver.go test/interface: document tests 2012-02-19 17:33:41 +11:00
recursive1.go test: use testlib in a few more cases 2012-03-22 02:14:44 +08:00
recursive2.go test/interface: document tests 2012-02-19 17:33:41 +11:00
recursive.go test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
returntype.go test/interface: document tests 2012-02-19 17:33:41 +11:00
struct.go test/interface: document tests 2012-02-19 17:33:41 +11:00