Description

DefaultType returns the default "typed" type for an "untyped" type; it returns the incoming type for all other types. The default type for untyped nil is untyped nil.

Exported to ssa/interp.

TODO(gri): this is a copy of go/types.defaultType; export that function.

DefaultType is referenced in 7 repositories

github.com/golang/tools github.com/mwhudson/golang-go.tools github.com/zeebo/tools

...