- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,138 for checkLine (0.19 sec)
-
test/fixedbugs/issue12536.go
// compile // 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 12536: compiler crashes while checking keys in a map literal for equality package p func main() { m1 := map[interface{}]interface{}{ nil: 0, true: 1, } m2 := map[interface{}]interface{}{ true: 1, nil: 0, } println(len(m1))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 14:16:09 UTC 2017 - 441 bytes - Viewed (0) -
src/cmd/vet/testdata/httpresponse/httpresponse.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 26 21:34:18 UTC 2021 - 509 bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginCheckInIntegrationTest.groovy
applyPlugin() when: succeeds "t", "-D${UNSUPPORTED_TOGGLE}=true" then: plugin.assertUnsupportedMessage(output, UNSUPPORTED_TOGGLE_MESSAGE) } def "checkin happens once for build with buildSrc"() { given: applyPlugin() file("buildSrc/src/main/groovy/Thing.groovy") << "class Thing {}" when: succeeds "t" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 08:50:27 UTC 2024 - 6.2K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue51158.go
// Copyright 2022 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 p // Type checking the following code should not cause an infinite recursion. func f[M map[K]int, K comparable](m M) { f(m) } // Equivalent code using mutual recursion. func f1[M map[K]int, K comparable](m M) { f2(m) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 463 bytes - Viewed (0) -
test/fixedbugs/issue8836.go
// errorcheck // Copyright 2015 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. // Checking that line number is correct in error message. package main type Cint int func foobar(*Cint, Cint, Cint, *Cint) func main() { a := Cint(1) foobar( &a, 0, 0, 42, // ERROR ".*" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 381 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_direct.txt
[short] skip [!git] skip # golang.org/issue/33099: if an import path ends in a major-version suffix, # ensure that 'direct' mode can resolve the package to the module. # For a while, (*modfetch.codeRepo).Stat was not checking for a go.mod file, # which would produce a hard error at the subsequent call to GoMod. go get -v -- go.mod -- module example.com go 1.13 -- main.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 15:54:04 UTC 2023 - 514 bytes - Viewed (0) -
src/cmd/compile/internal/types/universe.go
Types[TINTER] = NewInterface(nil) CheckSize(Types[TINTER]) defBasic := func(kind Kind, pkg *Pkg, name string) *Type { typ := newType(kind) obj := defTypeName(pkg.Lookup(name), typ) typ.obj = obj if kind != TANY { CheckSize(typ) } return typ } for _, s := range &basicTypes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// 4. instantiated from a generic type // // In cases 1, 3, and 4, it is possible that the underlying type or methods of // N may not be immediately available. // - During type-checking, we allocate N before type-checking its underlying // type or methods, so that we may resolve recursive references. // - When loading from export data, we may load its methods and underlying // type lazily using a provided load function.
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/cmd/compile/internal/types2/api.go
// Package types2 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: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K 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)