go/test/interface
Dmitry Vyukov 0c5d545ccd test: add tests for runtime.itab.init
We seem to lack any tests for some corner cases of itab.init
(multiple methods with the same name, breaking itab.init doesn't
seem to fail any tests). We also lack tests that fix text of panics.
Add more tests for itab.init.

Change-Id: Id6b536179ba6b0d45c3cb9dc1c66b9311d0ab85e
Reviewed-on: https://go-review.googlesource.com/c/go/+/202451
Run-TryBot: Dmitry Vyukov <dvyukov@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-11-06 09:09:59 +00:00
..
embed1.dir test: convert tests to run.go whenever possible. 2012-10-10 22:35:27 +02:00
embed3.dir test: add tests for runtime.itab.init 2019-11-06 09:09:59 +00:00
private.dir test: convert tests to run.go whenever possible. 2012-10-10 22:35:27 +02:00
recursive1.dir all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
assertinline.go cmd/compile: do more type conversion inline 2016-11-02 21:33:03 +00:00
bigdata.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
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
embed.go test/interface: document tests 2012-02-19 17:33:41 +11:00
embed1.go test: convert tests to run.go whenever possible. 2012-10-10 22:35:27 +02:00
embed2.go cmd/internal/gc: improve "type *X has no field or method M" message 2015-05-07 16:21:57 +00:00
embed3.go test: add tests for runtime.itab.init 2019-11-06 09:09:59 +00:00
explicit.go cmd/compile: more error position tests for the typechecker 2017-04-24 12:37:49 +00:00
fail.go cmd/gc: blank methods are not permitted in interface types 2014-10-15 09:55:13 -07:00
fake.go test/interface: document tests 2012-02-19 17:33:41 +11:00
noeq.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
pointer.go test/interface: document tests 2012-02-19 17:33:41 +11:00
private.go test: convert tests to run.go whenever possible. 2012-10-10 22:35:27 +02:00
receiver.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
recursive.go test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
recursive1.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00: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