@@ -85,7 +85,7 @@ func isTypeLit(t Type) bool {
8585// Safe to call from types that are not fully set up.
8686func isTyped (t Type ) bool {
8787 // Alias and named types cannot denote untyped types
88- // so there's no need to call Unalias or under , below.
88+ // so there's no need to call Unalias or Underlying , below.
8989 b , _ := t .(* Basic )
9090 return b == nil || b .info & IsUntyped == 0
9191}
@@ -100,7 +100,7 @@ func isUntyped(t Type) bool {
100100// Safe to call from types that are not fully set up.
101101func isUntypedNumeric (t Type ) bool {
102102 // Alias and named types cannot denote untyped types
103- // so there's no need to call Unalias or under , below.
103+ // so there's no need to call Unalias or Underlying , below.
104104 b , _ := t .(* Basic )
105105 return b != nil && b .info & IsUntyped != 0 && b .info & IsNumeric != 0
106106}
@@ -519,7 +519,7 @@ func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool
519519// for untyped nil is untyped nil.
520520func Default (t Type ) Type {
521521 // Alias and named types cannot denote untyped types
522- // so there's no need to call Unalias or under , below.
522+ // so there's no need to call Unalias or Underlying , below.
523523 if t , _ := t .(* Basic ); t != nil {
524524 switch t .kind {
525525 case UntypedBool :
0 commit comments