Bumping k8s dependencies to 1.13
This commit is contained in:
13
vendor/golang.org/x/tools/go/ssa/ssa.go
generated
vendored
13
vendor/golang.org/x/tools/go/ssa/ssa.go
generated
vendored
@@ -10,7 +10,7 @@ package ssa
|
||||
import (
|
||||
"fmt"
|
||||
"go/ast"
|
||||
exact "go/constant"
|
||||
"go/constant"
|
||||
"go/token"
|
||||
"go/types"
|
||||
"sync"
|
||||
@@ -404,9 +404,8 @@ type Parameter struct {
|
||||
// All source-level constant expressions are represented by a Const
|
||||
// of the same type and value.
|
||||
//
|
||||
// Value holds the exact value of the constant, independent of its
|
||||
// Type(), using the same representation as package go/exact uses for
|
||||
// constants, or nil for a typed nil value.
|
||||
// Value holds the value of the constant, independent of its Type(),
|
||||
// using go/constant representation, or nil for a typed nil value.
|
||||
//
|
||||
// Pos() returns token.NoPos.
|
||||
//
|
||||
@@ -417,7 +416,7 @@ type Parameter struct {
|
||||
//
|
||||
type Const struct {
|
||||
typ types.Type
|
||||
Value exact.Value
|
||||
Value constant.Value
|
||||
}
|
||||
|
||||
// A Global is a named Value holding the address of a package-level
|
||||
@@ -655,10 +654,10 @@ type ChangeInterface struct {
|
||||
// value of a concrete type.
|
||||
//
|
||||
// Use Program.MethodSets.MethodSet(X.Type()) to find the method-set
|
||||
// of X, and Program.Method(m) to find the implementation of a method.
|
||||
// of X, and Program.MethodValue(m) to find the implementation of a method.
|
||||
//
|
||||
// To construct the zero value of an interface type T, use:
|
||||
// NewConst(exact.MakeNil(), T, pos)
|
||||
// NewConst(constant.MakeNil(), T, pos)
|
||||
//
|
||||
// Pos() returns the ast.CallExpr.Lparen, if the instruction arose
|
||||
// from an explicit conversion in the source.
|
||||
|
Reference in New Issue
Block a user