- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 210 for predeclared (1.61 sec)
-
src/internal/types/testdata/check/decls2/decls2b.go
return t.x } func f() { var t *T6 t.m1() } // Double declarations across package files const c_double /* ERROR "redeclared" */ = 0 type t_double /* ERROR "redeclared" */ int var v_double /* ERROR "redeclared" */ int func f_double /* ERROR "redeclared" */ () {} // Blank methods need to be type-checked. // Verify by checking that errors are reported. func (T /* ERROR "undefined" */ ) _() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 1.9K bytes - Viewed (0) -
test/fixedbugs/issue20415.go
func _(f int) { } // 2 var g byte func _(g int) { } var g interface{} // ERROR "issue20415.go:20: previous declaration|redefinition|g redeclared" // 3 func _(h int) { } var h byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 22 17:50:13 UTC 2020 - 638 bytes - Viewed (0) -
test/method1.go
func (t *T) H() {} // ERROR "already declared|redefinition" func f(int, string) // GCCGO_ERROR "previous" func f(int, float64) {} // ERROR "redeclared|redefinition" func g(a int, b string) // GCCGO_ERROR "previous"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:59:19 UTC 2022 - 739 bytes - Viewed (0) -
test/fixedbugs/issue6772.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 22 17:50:13 UTC 2020 - 454 bytes - Viewed (0) -
test/import1.go
// Does not compile. package main import "bufio" // ERROR "previous|not used" import bufio "os" // ERROR "redeclared|redefinition|incompatible" "imported and not used|imported as bufio and not used" import ( "fmt" // ERROR "previous|not used" fmt "math" // ERROR "redeclared|redefinition|incompatible" "imported and not used: \x22math\x22 as fmt|imported as fmt and not used"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:10:19 UTC 2022 - 703 bytes - Viewed (0) -
src/internal/types/testdata/check/main0.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 365 bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/duperror.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 05 23:21:07 UTC 2022 - 404 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_issue_59905.txt
-- wanterr_59905 -- [# test/main/level1a level1a${/}pkg.go:5:2: level2x redeclared in this block level1a${/}pkg.go:4:2: other declaration of level2x level1a${/}pkg.go:5:2: "test/main/level1a/level2y" imported as level2x and not used level1a${/}pkg.go:8:39: undefined: level2y # test/main/level1b level1b${/}pkg.go:5:2: level2x redeclared in this block level1b${/}pkg.go:4:2: other declaration of level2x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 17:34:46 UTC 2023 - 2.1K bytes - Viewed (0) -
test/assign.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 20:13:36 UTC 2020 - 1K bytes - Viewed (0) -
test/fixedbugs/issue47201.dir/b.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 03 16:24:32 UTC 2021 - 277 bytes - Viewed (0)