- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 136 for typecheck (0.64 sec)
-
hack/make-rules/verify.sh
"verify-openapi-docs-urls.sh" # Spams docs URLs, don't run in CI. ) # Exclude typecheck in certain cases, if they're running in a separate job. if [[ ${EXCLUDE_TYPECHECK:-} =~ ^[yY]$ ]]; then EXCLUDED_PATTERNS+=( "verify-typecheck.sh" # runs in separate typecheck job ) fi # Exclude dependency checks in certain cases, if they're running in a separate job.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 12:24:15 UTC 2024 - 6.6K bytes - Viewed (0) -
test/fixedbugs/issue6131.go
// compile // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 6131: missing typecheck after reducing // n%1 == 0 to a constant value. package main func isGood(n int) bool { return n%1 == 0 } func main() { if !isGood(256) { panic("!isGood") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 371 bytes - Viewed (0) -
test/fixedbugs/issue5753.go
// run // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // issue 5753: bad typecheck info causes escape analysis to // not run on method thunks. package main type Thing struct{} func (t *Thing) broken(s string) []string { foo := [1]string{s} return foo[:] } func main() { t := &Thing{} f := t.broken
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 02 15:12:08 UTC 2013 - 502 bytes - Viewed (0) -
test/fixedbugs/issue20174.go
// compile -c=2 // Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 20174: failure to typecheck contents of *T in the frontend. package p func f() { _ = (*interface{})(nil) // interface{} here used to not have its width calculated going into backend select { case _ = <-make(chan interface { M() }, 1): }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 30 00:45:42 UTC 2017 - 434 bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/export.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package typecheck import ( "cmd/compile/internal/base" "cmd/compile/internal/ir" "cmd/compile/internal/types" "cmd/internal/src" ) // importfunc declares symbol s as an imported function with type t. func importfunc(s *types.Sym, t *types.Type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:28 UTC 2023 - 838 bytes - Viewed (0) -
test/fixedbugs/issue4323.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 4323: inlining of functions with local variables // forgets to typecheck the declarations in the inlined copy. package main type reader struct { C chan T } type T struct{ C chan []byte } var r = newReader() func newReader() *reader { return new(reader) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 610 bytes - Viewed (0) -
cmd/preferredimports/preferredimports.go
// Ignore hidden directories (.git, .cache, etc) if len(path) > 1 && path[0] == '.' || // OS-specific vendor code tends to be imported by OS-specific // packages. We recursively typecheck imported vendored packages for // each OS, but don't typecheck everything for every OS. path == "vendor" || path == "_output" || // This is a weird one. /testdata/ is *mostly* ignored by Go,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:44 UTC 2024 - 7.1K bytes - Viewed (0) -
src/cmd/internal/goobj/mkbuiltin.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // Generate builtinlist.go from cmd/compile/internal/typecheck/builtin/runtime.go. package main import ( "bytes" "flag" "fmt" "go/ast" "go/format" "go/parser" "go/token" "io" "log" "os" "path/filepath" "strings" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/mergelocals_test.go
package test import ( "cmd/compile/internal/ir" "cmd/compile/internal/liveness" "cmd/compile/internal/typecheck" "cmd/compile/internal/types" "cmd/internal/src" "internal/testenv" "path/filepath" "sort" "strings" "testing" ) func mkiv(name string) *ir.Name { i32 := types.Types[types.TINT32] s := typecheck.Lookup(name) v := ir.NewNameAt(src.NoXPos, s, i32) return v }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:43:53 UTC 2024 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
// Don't use LookupNum; it interns the resulting string, but these are all unique. sym := typecheck.Lookup(fmt.Sprintf("%s%d", obj.StaticNamePref, statuniqgen)) statuniqgen++ n := ir.NewNameAt(base.Pos, sym, t) sym.Def = n n.Class = ir.PEXTERN typecheck.Target.Externs = append(typecheck.Target.Externs, n) n.Linksym().Set(obj.AttrStatic, true) return n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0)