Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 659 for errorCheck (0.12 sec)

  1. test/fixedbugs/issue34329.go

    // errorcheck -lang=go1.13
    
    // 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.
    
    package p
    
    type I interface{ M() }
    
    type _ interface {
    	I
    	I // ERROR "duplicate method M"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 281 bytes
    - Viewed (0)
  2. test/syntax/typesw.go

    // errorcheck
    
    // Copyright 2011 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 main
    
    func main() {
    	switch main() := interface{}(nil).(type) {	// ERROR "invalid variable name|cannot use .* as value"
    	default:
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 21 22:57:52 UTC 2020
    - 318 bytes
    - Viewed (0)
  3. test/fixedbugs/issue63489b.go

    // errorcheck -lang=go1.4
    
    // Copyright 2023 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.
    
    //go:build go1.4
    
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:56:10 UTC 2023
    - 274 bytes
    - Viewed (0)
  4. test/fixedbugs/issue8440.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.
    
    package main
    
    func main() {
    	n.foo = 6 // ERROR "undefined: n in n.foo|undefined name .*n|undefined: n"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 281 bytes
    - Viewed (0)
  5. test/fixedbugs/bug451.go

    // errorcheck
    
    // 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.
    
    package main
    
    type T x.T // ERROR "undefined|expected package"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 28 15:30:30 UTC 2012
    - 273 bytes
    - Viewed (0)
  6. test/fixedbugs/issue4517d.go

    // errorcheck
    
    // 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.
    
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 23:59:57 UTC 2020
    - 265 bytes
    - Viewed (0)
  7. test/fixedbugs/issue6964.go

    // errorcheck
    
    // 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.
    
    package main
    
    func main() {
    	_ = string(-4 + 2i + 2) // ERROR "-4 \+ 2i|invalid type conversion"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 274 bytes
    - Viewed (0)
  8. test/prove_invert_loop_with_unused_iterators.go

    // errorcheck -0 -d=ssa/prove/debug=1
    
    //go:build amd64
    
    package main
    
    func invert(b func(), n int) {
    	for i := 0; i < n; i++ { // ERROR "(Inverted loop iteration|Induction variable: limits \[0,\?\), increment 1)"
    		b()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 225 bytes
    - Viewed (0)
  9. test/fixedbugs/bug228.go

    // errorcheck
    
    // 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 main
    
    func f(x int, y ...int) // ok
    
    func g(x int, y float32) (...)	// ERROR "[.][.][.]"
    
    var x ...int;		// ERROR "[.][.][.]|syntax|type"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 371 bytes
    - Viewed (0)
  10. test/fixedbugs/bug251.go

    // errorcheck
    
    // Copyright 2010 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 main
    
    type I1 interface { // GC_ERROR "invalid recursive type"
    	m() I2
    	I2
    }
    
    type I2 interface {
    	I1 // GCCGO_ERROR "loop|interface"
    }
    
    
    var i1 I1 = i2
    var i2 I2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 21:45:05 UTC 2020
    - 362 bytes
    - Viewed (0)
Back to top