Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for callString (0.09 sec)

  1. src/go/types/expr.go

    		}
    		// A boolean type can only convert to another boolean type.
    		if allBoolean(x.typ) != allBoolean(y.typ) {
    			return false
    		}
    		// A string type can only convert to another string type.
    		if allString(x.typ) != allString(y.typ) {
    			return false
    		}
    		// Untyped nil can only convert to a type that has a nil.
    		if x.isNil() {
    			return hasNil(y.typ)
    		}
    		if y.isNil() {
    			return hasNil(x.typ)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    		}
    		// A boolean type can only convert to another boolean type.
    		if allBoolean(x.typ) != allBoolean(y.typ) {
    			return false
    		}
    		// A string type can only convert to another string type.
    		if allString(x.typ) != allString(y.typ) {
    			return false
    		}
    		// Untyped nil can only convert to a type that has a nil.
    		if x.isNil() {
    			return hasNil(y.typ)
    		}
    		if y.isNil() {
    			return hasNil(x.typ)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top