Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,884 for incorrectly (0.22 sec)

  1. test/fixedbugs/bug498.go

    // run
    
    // Copyright 2016 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.
    
    // Gccgo incorrectly rejected an assignment to multiple instances of
    // the same variable.
    
    package main
    
    var a int
    
    func F() {
    	a, a, a = 1, 2, 3
    }
    
    func main() {
    	F()
    	if a != 3 {
    		panic(a)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 14:19:45 UTC 2016
    - 366 bytes
    - Viewed (0)
  2. test/fixedbugs/issue20811.go

    // run
    
    // 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 20811: slice-in-bound check is lowered incorrectly on
    // amd64p32.
    
    package main
    
    func main() {
    	i := g()
    	_ = "x"[int32(i)]
    	j := g()
    	_ = "x"[:int32(j)]
    }
    
    //go:noinline
    func g() int64 {
    	return 4398046511104
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 28 16:20:53 UTC 2017
    - 391 bytes
    - Viewed (0)
  3. releasenotes/notes/42818.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
    - 42818
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 17 15:53:43 UTC 2023
    - 208 bytes
    - Viewed (0)
  4. releasenotes/notes/40299.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    
    issue:
      - 40299
    
    releaseNotes:
    - |
      **Fixed** an issue where a service with and witout Virtual Service with no timeouts specified,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 08 19:15:48 UTC 2022
    - 240 bytes
    - Viewed (0)
  5. test/fixedbugs/issue31412b.go

    // errorcheck
    
    // Copyright 2019 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.
    
    // This code was incorrectly accepted by gccgo.
    
    package main
    
    type N string
    type M string
    
    const B N = "B"
    const C M = "C"
    
    func main() {
    	q := B + C // ERROR "mismatched types|incompatible types"
    	println(q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:17:26 UTC 2019
    - 387 bytes
    - Viewed (0)
  6. test/fixedbugs/issue9634.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.
    
    // Issue 9634: Structs are incorrectly unpacked when passed as an argument
    // to append.
    
    package main
    
    func main() {
    	s := struct{
    		t []int
    		u int
    	}{}
    	_ = append(s, 0) // ERROR "must be a slice|must be slice|not a slice"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 403 bytes
    - Viewed (0)
  7. releasenotes/notes/auto-mtls-headless.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: networking
    issue:
    - 24319
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 11 21:20:58 UTC 2020
    - 190 bytes
    - Viewed (0)
  8. test/fixedbugs/bug472.go

    // rundir
    
    // 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.
    
    // Linker would incorrectly parse export data and think
    // definitions are inconsistent.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 277 bytes
    - Viewed (0)
  9. test/fixedbugs/issue21770.go

    // errorcheck
    
    // 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 21770: gccgo incorrectly accepts "p.f = 0" where p is **struct
    
    package p
    
    type PP **struct{ f int }
    
    func f() {
    	// anonymous type
    	var p **struct{ f int }
    	p.f = 0 // ERROR "field"
    	// named type
    	var p2 PP
    	p2.f = 0 // ERROR "field"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 13:32:23 UTC 2017
    - 422 bytes
    - Viewed (0)
  10. test/fixedbugs/issue12686.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // golang.org/issue/12686.
    // interesting because it's a non-constant but ideal value
    // and we used to incorrectly attach a constant Val to the Node.
    
    package p
    
    func f(i uint) uint {
    	x := []uint{1 << i}
    	return x[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 393 bytes
    - Viewed (0)
Back to top