- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for Wadler (0.07 sec)
-
src/cmd/compile/internal/types2/errors.go
if !p { msg := "assertion failed" // Include information about the assertion location. Due to panic recovery, // this location is otherwise buried in the middle of the panicking stack. if _, file, line, ok := runtime.Caller(1); ok { msg = fmt.Sprintf("%s:%d: %s", file, line, msg) } panic(msg) } } // An errorDesc describes part of a type-checking error. type errorDesc struct { pos syntax.Pos msg string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan15.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // Test case for issue 66427. // Running under TSAN, this fails with "signal handler // spoils errno". /* #include <pthread.h> #include <signal.h> #include <stdlib.h> void go_callback(); static void *thr(void *arg) { int i; for (i = 0; i < 10; i++) go_callback();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 21:14:49 UTC 2024 - 968 bytes - Viewed (0) -
src/cmd/go/internal/work/action.go
a = b.installAction(a, mode) } return a } // VetAction returns the action for running go vet on package p. // It depends on the action for compiling p. // If the caller may be causing p to be installed, it is up to the caller // to make sure that the install depends on (runs after) vet. func (b *Builder) VetAction(mode, depMode BuildMode, p *load.Package) *Action { a := b.vetAction(mode, depMode, p) a.VetxOnly = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
// Graph method. // // The rootModules slice must be sorted according to gover.ModSort. // The caller must not modify the rootModules slice or direct map after passing // them to newRequirements. // // If vendoring is in effect, the caller must invoke initVendor on the returned // *Requirements before any other method.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
pkgInAll loadPkgFlags = 1 << iota // pkgIsRoot indicates that the package matches one of the root package // patterns requested by the caller. // // If LoadTests is set, then when pkgIsRoot and pkgImportsLoaded are both set, // the caller who set the last of those flags must populate a test for the // package (in the pkg.test field). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
} func TestIssue61938(t *testing.T) { const src = ` package p func f[T any]() {} func _() { f() } ` // no error handler provided (this issue) var conf Config typecheck(src, &conf, nil) // must not panic // with error handler (sanity check) conf.Error = func(error) {} typecheck(src, &conf, nil) // must not panic } func TestIssue63260(t *testing.T) { const src = `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typexpr.go
// a cycle which needs to be reported). Otherwise we can skip the // call and avoid a possible cycle error in favor of the more // informative "not a type/value" error that this function's caller // will issue (see go.dev/issue/25790). typ := obj.Type() if typ == nil || gotType && wantType { check.objDecl(obj, def) typ = obj.Type() // type must have been assigned by Checker.objDecl }
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/go/internal/modfetch/codehost/vcs.go
) // A VCSError indicates an error using a version control system. // The implication of a VCSError is that we know definitively where // to get the code, but we can't access it due to the error. // The caller should report this error instead of continuing to probe // other possible module paths. // // TODO(golang.org/issue/31730): See if we can invert this. (Return a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
} return gover.FromGoMod(f) } return gover.DefaultGoModVersion } // Godebugs returns the godebug lines set on the single module, in module mode, // or on the go.work file in workspace mode. // The caller must not modify the result. func (mms *MainModuleSet) Godebugs() []*modfile.Godebug { if inWorkspaceMode() { if mms.workFile != nil { return mms.workFile.Godebug } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// when -buildvcs=auto (the default). AutoVCS bool // SuppressBuildInfo is true if the caller does not need p.Stale, p.StaleReason, or p.Internal.BuildInfo // to be populated on the package. SuppressBuildInfo bool // SuppressEmbedFiles is true if the caller does not need any embed files to be populated on the // package. SuppressEmbedFiles bool }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0)