- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 450 for checkDep (0.12 sec)
-
src/go/types/check.go
// For debugging only. type actionDesc struct { pos positioner format string args []any } // A Checker maintains the state of the type checker. // It must be created with [NewChecker]. type Checker struct { // package information // (initialized by NewChecker, valid for the life-time of checker) conf *Config ctxt *Context // context for de-duplicating instances fset *token.FileSet pkg *Package *Info
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy
conf 'org.test:depC:1.0' } """ checkConfiguration("conf") resolve.expectDefaultConfiguration("runtime") expect: succeeds 'checkDeps' //Shape of the graph is not checked as bug was failing resolution altogether } def 'platform upgrade does not leave orphaned edges'() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 25.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
// For debugging only. type actionDesc struct { pos poser format string args []interface{} } // A Checker maintains the state of the type checker. // It must be created with NewChecker. type Checker struct { // package information // (initialized by NewChecker, valid for the life-time of checker) conf *Config ctxt *Context // context for de-duplicating instances pkg *Package *Info
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/cmd/compile/internal/types2/named.go
} // newNamed is like NewNamed but with a *Checker receiver. func (check *Checker) newNamed(obj *TypeName, underlying Type, methods []*Func) *Named { typ := &Named{check: check, obj: obj, fromRHS: underlying, underlying: underlying, methods: methods} if obj.typ == nil { obj.typ = typ } // Ensure that typ is always sanity-checked. if check != nil { check.needsCleanup(typ) } return typ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/go/types/resolver.go
func (check *Checker) packageObjects() { // process package objects in source order for reproducible results objList := make([]Object, len(check.objMap)) i := 0 for obj := range check.objMap { objList[i] = obj i++ } sort.Sort(inSourceOrder(objList)) // add new methods to already type-checked types (from a prior Checker.Files call) for _, obj := range objList {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0) -
src/go/types/named.go
} // newNamed is like NewNamed but with a *Checker receiver. func (check *Checker) newNamed(obj *TypeName, underlying Type, methods []*Func) *Named { typ := &Named{check: check, obj: obj, fromRHS: underlying, underlying: underlying, methods: methods} if obj.typ == nil { obj.typ = typ } // Ensure that typ is always sanity-checked. if check != nil { check.needsCleanup(typ) } return typ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
src/go/types/api.go
// Package types declares the data types and implements // the algorithms for type-checking of Go packages. Use // [Config.Check] to invoke the type checker for a package. // Alternatively, create a new type checker with [NewChecker] // and invoke it incrementally by calling [Checker.Files]. // // Type-checking consists of several interdependent phases: // // Name resolution maps each identifier ([ast.Ident]) in the program
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/go/types/decl.go
} check.initConst(obj, &x) } func (check *Checker) varDecl(obj *Var, lhs []*Var, typ, init ast.Expr) { assert(obj.typ == nil) // determine type, if any if typ != nil { obj.typ = check.varType(typ) // We cannot spread the type to all lhs variables if there // are more than one since that would mark them as checked // (see Checker.objDecl) and the assignment of init exprs,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/go/types/typexpr.go
check.errorf(e, NotAType, "%s is not a type", obj.Name()) // avoid "declared but not used" errors // (don't use Checker.use - we don't want to evaluate too much) if v, _ := obj.(*Var); v != nil && v.pkg == check.pkg /* see Checker.use1 */ { v.used = true } return } // Type-check the object. // Only call Checker.objDecl if the object doesn't have a type yet // (in which case we must actually determine it) or the object is a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/resolver.go
func (check *Checker) packageObjects() { // process package objects in source order for reproducible results objList := make([]Object, len(check.objMap)) i := 0 for obj := range check.objMap { objList[i] = obj i++ } sort.Sort(inSourceOrder(objList)) // add new methods to already type-checked types (from a prior Checker.Files call) for _, obj := range objList {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 26.3K bytes - Viewed (0)