diff options
Diffstat (limited to 'src/go/types/environment.go')
-rw-r--r-- | src/go/types/environment.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/go/types/environment.go b/src/go/types/environment.go index 93383efe1a2..61fc3c5348b 100644 --- a/src/go/types/environment.go +++ b/src/go/types/environment.go @@ -50,13 +50,6 @@ func (env *Environment) typeHash(typ Type, targs []Type) string { h.typ(typ) } - if debug { - // there should be no instance markers in type hashes - for _, b := range buf.Bytes() { - assert(b != instanceMarker) - } - } - return buf.String() } |