- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for dev (0.1 sec)
-
src/cmd/compile/internal/types2/decl.go
// expression and not the current constant declaration. Use // the constant identifier position for any errors during // init expression evaluation since that is all we have // (see issues go.dev/issue/42991, go.dev/issue/42992). check.errpos = obj.pos } check.expr(nil, &x, init) } check.initConst(obj, &x) } func (check *Checker) varDecl(obj *Var, lhs []*Var, typ, init syntax.Expr) {
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/cmd/compile/internal/types2/builtins_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
package types2 import ( "bytes" "fmt" "sort" "strings" ) const ( // Upper limit for recursion depth. Used to catch infinite recursions // due to implementation issues (e.g., see issues go.dev/issue/48619, go.dev/issue/48656). unificationDepthLimit = 50 // Whether to panic when unificationDepthLimit is reached. // If disabled, a recursion depth overflow results in a (quiet) // unification failure.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typexpr.go
} } check.recordUse(e, obj) // If we want a type but don't have one, stop right here and avoid potential problems // with missing underlying types. This also gives better error messages in some cases // (see go.dev/issue/65344). _, gotType := obj.(*TypeName) if !gotType && wantType { check.errorf(e, NotAType, "%s is not a type", obj.Name()) // avoid "declared but not used" errors
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/lookup.go
// Add package information to disambiguate (go.dev/issue/54258). fs, ms = check.funcString(f, true), check.funcString(m, true) } if fs == ms { // We still have "want Foo, have Foo". // This is most likely due to different type parameters with // the same name appearing in the instantiated signatures // (go.dev/issue/61685). // Rather than reporting this misleading error cause, for now
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 19.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/validtype.go
case *Interface: for _, etyp := range t.embeddeds { if !check.validType0(pos, etyp, nest, path) { return false } } case *Named: // TODO(gri) The optimization below is incorrect (see go.dev/issue/65711): // in that issue `type A[P any] [1]P` is a valid type on its own // and the (uninstantiated) A is recorded in check.valids. As a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 13:22:37 UTC 2024 - 10.2K bytes - Viewed (0) -
src/cmd/go/script_test.go
"CMDGO_TEST_RUN_MAIN=true", "HGRCPATH=", "GOTOOLCHAIN=auto", "newline=\n", } if testenv.Builder() != "" || os.Getenv("GIT_TRACE_CURL") == "1" { // To help diagnose https://go.dev/issue/52545, // enable tracing for Git HTTPS requests. env = append(env, "GIT_TRACE_CURL=1", "GIT_TRACE_CURL_NO_DATA=1", "GIT_REDACT_COOKIES=o,SSO,GSSO_Uberproxy") } if testing.Short() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/instantiate.go
smap := makeSubstMap(tparams, targs) for i, tpar := range tparams { // Ensure that we have a (possibly implicit) interface as type bound (go.dev/issue/51048). tpar.iface() // The type parameter bound is parameterized with the same type parameters // as the instantiated type; before we can use it for bounds checking we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/initorder.go
x, y := a[i], a[j] a[i], a[j] = y, x x.index, y.index = j, i } func (a nodeQueue) Less(i, j int) bool { x, y := a[i], a[j] // Prioritize all constants before non-constants. See go.dev/issue/66575/. _, xConst := x.obj.(*Const) _, yConst := y.obj.(*Const) if xConst != yConst { return xConst } // nodes are prioritized by number of incoming dependencies (1st key)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 22:06:51 UTC 2024 - 9.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopbce.go
less = false } if ind.Block != b { // TODO: Could be extended to include disjointed loop headers. // I don't think this is causing missed optimizations in real world code often. // See https://go.dev/issue/63955 continue } // Expect the increment to be a nonzero constant. if !inc.isGenericIntConst() { continue } step := inc.AuxInt if step == 0 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 17:37:47 UTC 2023 - 11.8K bytes - Viewed (0)