- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for inTParamList (0.29 sec)
-
src/cmd/compile/internal/types2/decl.go
// sequential fashion. Note that with each new declaration, we save // the existing environment and restore it when done; thus inTParamList // is true exactly only when we are in a specific type parameter list. assert(!check.inTParamList) check.inTParamList = true defer func() { check.inTParamList = false }() // Keep track of bounds for later validation. var bound Type for i, f := range list {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/go/types/decl.go
// the existing environment and restore it when done; thus inTPList is // true exactly only when we are in a specific type parameter list. assert(!check.inTParamList) check.inTParamList = true defer func() { check.inTParamList = false }() index := 0 for _, f := range list.List { var bound Type // NOTE: we may be able to assert that f.Type != nil here, but this is not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
iota constant.Value // value of iota in a constant declaration; nil otherwise errpos syntax.Pos // if valid, identifier position of a constant with inherited initializer inTParamList bool // set if inside a type parameter list sig *Signature // function signature if inside a function; nil otherwise
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/go/types/check.go
iota constant.Value // value of iota in a constant declaration; nil otherwise errpos positioner // if set, identifier position of a constant with inherited initializer inTParamList bool // set if inside a type parameter list sig *Signature // function signature if inside a function; nil otherwise
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0)