diff options
Diffstat (limited to 'src/cmd/compile/internal/types2/api.go')
-rw-r--r-- | src/cmd/compile/internal/types2/api.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cmd/compile/internal/types2/api.go b/src/cmd/compile/internal/types2/api.go index 36d900401d..029d105e2e 100644 --- a/src/cmd/compile/internal/types2/api.go +++ b/src/cmd/compile/internal/types2/api.go @@ -475,10 +475,3 @@ func (conf *Config) Check(path string, files []*syntax.File, info *Info) (*Packa pkg := NewPackage(path, "") return pkg, NewChecker(conf, pkg, info).Files(files) } - -// Rhs returns the type R on the right-hand side of an alias -// declaration "type A = R", which may be another alias. -// -// TODO(adonovan): move to alias.go (common with go/types) once -// proposal #66559 is accepted. -func (a *Alias) Rhs() Type { return a.fromRHS } |