go/test/gen
Ian Lance Taylor bc77b007e5 go/go2go: compare arguments of instantiated types
types.Identical will report that two instantiated types are different
even if they are instantiated with the same type arguments.
Change our comparison so that we treat them as the same.

This lets us drop fully resolving all types, which is good because
that wasn't correct anyhow.

Change-Id: Ibcf2dc08896ecacb11ca302627e5d0c6f0722da7
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go2-dev/+/769080
Reviewed-by: Ian Lance Taylor <iant@google.com>
2020-06-13 12:24:54 -07:00
..
err002.dir go/go2go, cmd/go2go, test: rewrite example code to not use contracts 2020-06-13 12:24:51 -07:00
g005.dir go/go2go, cmd/go2go: support importing Go2 packages 2020-06-13 12:24:45 -07:00
err001.go2 go/go2go, cmd/go2go, test: rewrite example code to not use contracts 2020-06-13 12:24:51 -07:00
err002.go2 test: drop a 0 from gen/err000n.go2 2020-06-13 12:24:49 -07:00
err003.go2 test: add a couple of pointer method test cases 2020-06-13 12:24:54 -07:00
g001.go2
g001.out
g002.go2
g002.out
g003.go2 go/go2go: support parameterized types 2020-06-13 12:24:44 -07:00
g004.go2 go/go2go: add support for methods of parameterized types 2020-06-13 12:24:44 -07:00
g005.go2 go/go2go, cmd/go2go: support importing Go2 packages 2020-06-13 12:24:45 -07:00
g006.go2 go/go2go, cmd/go2go, test: rewrite example code to not use contracts 2020-06-13 12:24:51 -07:00
g007.go2 go/go2go: record types of instantiated AST types 2020-06-13 12:24:49 -07:00
g008.go2 test/gen: add some FromStrings test cases 2020-06-13 12:24:53 -07:00
g009.go2 test/gen: add some FromStrings test cases 2020-06-13 12:24:53 -07:00
g010.go2 test/gen: add some FromStrings test cases 2020-06-13 12:24:53 -07:00
g011.go2 test: add a couple of pointer method test cases 2020-06-13 12:24:54 -07:00
g012.go2 test: add AbsDifference test case from design draft 2020-06-13 12:24:53 -07:00
g013.go2 go/go2go: improve handling of self-referential types 2020-06-13 12:24:53 -07:00
g014.go2 go/go2go: handle references to embedded instantiated types 2020-06-13 12:24:54 -07:00
g015.go2 go/go2go: support instantiating functions with directed channels 2020-06-13 12:24:54 -07:00
g016.go2 go/go2go: compare arguments of instantiated types 2020-06-13 12:24:54 -07:00