Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for invalidArgs (0.2 sec)

  1. src/cmd/compile/internal/types2/errors.go

    	}
    
    	if check.firstErr == nil {
    		check.firstErr = e
    	}
    
    	f := check.conf.Error
    	if f == nil {
    		panic(bailout{}) // record first error and exit
    	}
    	f(e)
    }
    
    const (
    	invalidArg = "invalid argument: "
    	invalidOp  = "invalid operation: "
    )
    
    // The poser interface is used to extract the position of type-checker errors.
    type poser interface {
    	Pos() syntax.Pos
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/go/types/errors.go

    	}
    
    	if check.firstErr == nil {
    		check.firstErr = e
    	}
    
    	f := check.conf.Error
    	if f == nil {
    		panic(bailout{}) // record first error and exit
    	}
    	f(e)
    }
    
    const (
    	invalidArg = "invalid argument: "
    	invalidOp  = "invalid operation: "
    )
    
    // The positioner interface is used to extract the position of type-checker errors.
    type positioner interface {
    	Pos() token.Pos
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top