Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 659 for errorCheck (0.12 sec)

  1. test/fixedbugs/bug131.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 main() {
    	const a uint64 = 10
    	var _ int64 = a // ERROR "convert|cannot|incompatible"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 14:28:33 UTC 2023
    - 282 bytes
    - Viewed (0)
  2. test/fixedbugs/issue41247.go

    // errorcheck
    
    // Copyright 2020 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
    
    func f() [2]int {
    	return [...]int{2: 0} // ERROR "cannot use \[\.\.\.\]int{.*} \(.*type \[3\]int\)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 12 23:07:01 UTC 2021
    - 289 bytes
    - Viewed (0)
  3. test/fixedbugs/bug228a.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 h(x, y ...int) // ERROR "[.][.][.]"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 318 bytes
    - Viewed (0)
  4. test/fixedbugs/bug518.go

    // errorcheck
    
    // 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.
    
    // The gofrontend used to accept this.
    
    package p
    
    func F2(a int32) bool {
    	return a == C	// ERROR "invalid|incompatible"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 20 03:00:06 UTC 2023
    - 321 bytes
    - Viewed (0)
  5. test/fixedbugs/bug049.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 atom(s string) {
    	if s == nil {	// ERROR "nil|incompatible"
    		return;
    	}
    }
    
    func main() {}
    
    /*
    bug047.go:4: fatal error: stringpool: not string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 341 bytes
    - Viewed (0)
  6. test/fixedbugs/bug464.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.
    
    // Issue 3937: unhelpful typechecking loop message
    // for identifiers wrongly used as types.
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 338 bytes
    - Viewed (0)
  7. test/fixedbugs/bug015.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 main() {
    	var i33 int64;
    	if i33 == (1<<64) -1 {  // ERROR "overflow"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 269 bytes
    - Viewed (0)
  8. test/fixedbugs/bug132.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
    
    type T struct {
    	x, x int  // ERROR "duplicate|redeclared"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 03 17:55:56 UTC 2020
    - 250 bytes
    - Viewed (0)
  9. test/fixedbugs/issue4517c.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: Mon May 02 13:43:18 UTC 2016
    - 247 bytes
    - Viewed (0)
  10. test/fixedbugs/issue22904.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 22904: Make sure the compiler emits a proper error message about
    // invalid recursive types rather than crashing.
    
    package p
    
    type a struct{ b } // ERROR "invalid recursive type"
    type b struct{ a } // GCCGO_ERROR "invalid recursive type"
    
    var x interface{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 464 bytes
    - Viewed (0)
Back to top