Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 659 for errorCheck (0.13 sec)

  1. test/fixedbugs/issue19056.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 p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:26:06 UTC 2020
    - 256 bytes
    - Viewed (0)
  2. test/fixedbugs/issue18231.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.
    
    // Test that error message for composite literals with
    // missing type is at the right place.
    
    package p
    
    type T struct {
    	f map[string]string
    }
    
    var _ = T{
    	f: {                // ERROR "missing type in composite literal|may only omit types within"
    		"a": "b",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:26:06 UTC 2020
    - 443 bytes
    - Viewed (0)
  3. test/fixedbugs/issue22164.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.
    
    // Test error recovery after missing closing parentheses in lists.
    
    package p
    
    func f() {
    	x := f(g() // ERROR "unexpected newline"
    	y := 1
    }
    
    func g() {
    }
    
    func h() {
    	x := f(g() // ERROR "unexpected newline"
    }
    
    func i() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 01:04:56 UTC 2017
    - 458 bytes
    - Viewed (0)
  4. test/fixedbugs/bug108.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() {
    	v := 1 << 1025;		// ERROR "overflow|shift count too large"
    	_ = v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 23 22:31:35 UTC 2016
    - 268 bytes
    - Viewed (0)
  5. test/syntax/semi2.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
    
    func main() {
    	switch x; y	// ERROR "missing .*{.* after switch clause|undefined"
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 280 bytes
    - Viewed (0)
  6. test/fixedbugs/bug330.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() {
    	x := ""
    	x = +"hello"  // ERROR "invalid operation.*string|expected numeric"
    	x = +x  // ERROR "invalid operation.*string|expected numeric"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 346 bytes
    - Viewed (0)
  7. test/fixedbugs/issue4610.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 bar struct {
    	x int
    }
    
    func main() {
    	var foo bar
    	_ = &foo{} // ERROR "is not a type|expected .;."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 13 01:18:12 UTC 2013
    - 335 bytes
    - Viewed (0)
  8. test/syntax/semi4.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
    
    func main() {
    	for x		// GCCGO_ERROR "undefined"
    	{		// ERROR "unexpected {, expected for loop condition|expecting .*{.* after for clause"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 359 bytes
    - Viewed (0)
  9. test/fixedbugs/bug104.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() string {
    	return 0	// ERROR "conversion|type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 245 bytes
    - Viewed (0)
  10. test/fixedbugs/issue21256.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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 247 bytes
    - Viewed (0)
Back to top