1
0
mirror of https://github.com/golang/go synced 2024-10-07 05:11:22 -06:00
go/src
Alan Donovan 0cbf289b36 go/types: expose types.IsIdentical, the Type equivalence relation.
This function is absolutely critical for clients such as
exp/ssa, and too complex for clients to duplicate.

As with CL 7200046, gri expressed in the doc below [gophers
only] before going on leave that he intended to expose such a
predicate, though his wording suggests as an interface method
of Type rather than a standalone function.  (My preference is
for binary methods to be standalone; see "On Binary Methods",
Kim Bruce, 1995).  In any case if he wishes to move it that's
easily accommodated by clients.

https://docs.google.com/a/google.com/document/d/1-DQ4fxlMDs9cYtnkKhAAehX6MArjOQyJsRXp-6kiJLA/edit#heading=h.k3bwja7xony9

R=iant, gri, iant
CC=golang-dev
https://golang.org/cl/7203051
2013-01-24 14:22:17 -05:00
..
cmd cmd/api: fix type scrubbing 2013-01-22 14:29:38 -08:00
lib9 lib9: declare __fixargv0 before use in flag.c 2013-01-22 17:23:36 -05:00
libbio
libmach cmd/ld: use native-endian symbol values in symbol table 2013-01-04 17:03:57 -05:00
pkg go/types: expose types.IsIdentical, the Type equivalence relation. 2013-01-24 14:22:17 -05:00
all.bash build: restore PATH before "dist banner" 2012-06-06 20:19:16 +08:00
all.bat src/all.bat: fix banner 2012-09-20 00:58:34 +08:00
all.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
clean.bash
clean.bat build: implement clean.bat 2012-02-20 12:17:27 +11:00
clean.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
make.bash cmd/dist: support building on debian/kFreeBSD 2012-12-04 08:27:30 +11:00
make.bat lib9, cmd/dist, cmd/5l: embed GOARM into cmd/5l and auto detect GOARM 2012-10-22 14:26:36 +08:00
Make.dist
make.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
run.bash run.bash: fix linux/arm build 2012-11-15 13:59:46 +11:00
run.bat run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
run.rc run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
sudo.bash sudo.bash: diagnose when the go tool is not in $PATH 2012-11-15 10:42:39 -08:00