Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for KindString (0.13 sec)

  1. src/go/types/expr.go

    	case *Slice, *Signature, *Map:
    		return check.kindString(typ) + " can only be compared to nil"
    	}
    	// see if we can extract a more specific error
    	var cause string
    	comparable(typ, true, nil, func(format string, args ...interface{}) {
    		cause = check.sprintf(format, args...)
    	})
    	return cause
    }
    
    // kindString returns the type kind as a string.
    func (check *Checker) kindString(typ Type) string {
    	switch under(typ).(type) {
    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

    	case *Slice, *Signature, *Map:
    		return check.kindString(typ) + " can only be compared to nil"
    	}
    	// see if we can extract a more specific error
    	var cause string
    	comparable(typ, true, nil, func(format string, args ...interface{}) {
    		cause = check.sprintf(format, args...)
    	})
    	return cause
    }
    
    // kindString returns the type kind as a string.
    func (check *Checker) kindString(typ Type) string {
    	switch under(typ).(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. src/cmd/internal/testdir/testdir_test.go

    		// If there are opcode checks associated to this source file/line,
    		// run the checks.
    		if ops, found := fullops[srcFileLine]; found {
    			for i := range ops {
    				if !ops[i].found && ops[i].opcode.FindString(asm) != "" {
    					ops[i].found = true
    				}
    			}
    		}
    	}
    	functionMarkers = append(functionMarkers, len(lines))
    
    	var failed []wantedAsmOpcode
    	for _, ops := range fullops {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top