HomeSort by relevance Sort by last modified time
    Searched refs:cannot (Results 76 - 100 of 1569) sorted by null

1 2 34 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/test/fixedbugs/
issue4517c.go 9 type init byte // ERROR "cannot declare init - must be func"
issue4517d.go 9 import init "fmt" // ERROR "cannot import package as init"
issue8280.go 7 // Issue 8280: cannot import package exporting a func var returning a result named _
issue20185.go 13 switch t := nil.(type) { // ERROR "cannot type switch on non-interface value nil"
22 switch t := x.(type) { // ERROR "cannot type switch on non-interface value x \(type untyped number\)"
issue9521.go 16 _ = append(f()) // ERROR "cannot append \[\]int value to \[\]int"
17 _ = append(g()) // ERROR "cannot append float64 value to \[\]int"
  /prebuilts/go/linux-x86/test/fixedbugs/
bug062.go 10 var s string = nil; // ERROR "illegal|invalid|incompatible|cannot"
bug131.go 11 var b int64 = a; // ERROR "convert|cannot|incompatible"
issue17038.go 9 const A = complex(0()) // ERROR "cannot call non-function"
issue19610.go 10 for ; ; x := 1 { // ERROR "cannot declare in post statement"
issue20813.go 10 1 = 2 // ERROR "cannot assign to 1"
issue3705.go 9 func init() // ERROR "missing function body|cannot declare init"
issue4517a.go 9 var init = 1 // ERROR "cannot declare init - must be func"
issue4517b.go 9 const init = 1 // ERROR "cannot declare init - must be func"
issue4517c.go 9 type init byte // ERROR "cannot declare init - must be func"
issue4517d.go 9 import init "fmt" // ERROR "cannot import package as init"
issue8280.go 7 // Issue 8280: cannot import package exporting a func var returning a result named _
issue20185.go 13 switch t := nil.(type) { // ERROR "cannot type switch on non-interface value nil"
22 switch t := x.(type) { // ERROR "cannot type switch on non-interface value x \(type untyped number\)"
issue9521.go 16 _ = append(f()) // ERROR "cannot append \[\]int value to \[\]int"
17 _ = append(g()) // ERROR "cannot append float64 value to \[\]int"
  /prebuilts/go/linux-x86/test/fixedbugs/issue15514.dir/
c.go 10 var _ a.A = b.B() // ERROR "cannot use b\.B"
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/tic6x/
parallel-bad-1.l 16 [^:]*:26: Error: instruction 'nop' cannot be predicated
18 [^:]*:28: Error: instruction 'nop' cannot be predicated
  /prebuilts/go/darwin-x86/test/
const1.go 77 f(Int8) // ERROR "convert|wrong type|cannot"
78 f(Minus1) // ERROR "convert|wrong type|cannot"
79 f(Uint8) // ERROR "convert|wrong type|cannot"
81 f(Float32) // ERROR "convert|wrong type|cannot"
82 f(Float64) // ERROR "convert|wrong type|cannot"
85 f(Big) // ERROR "convert|wrong type|cannot"
86 f(String) // ERROR "convert|wrong type|cannot|incompatible"
87 f(Bool) // ERROR "convert|wrong type|cannot|incompatible"
93 const _ = unsafe.Pointer((*int)(nil)) // ERROR "cannot be nil|invalid constant type"
94 const _ = (*int)(nil) // ERROR "cannot be nil|invalid constant type
    [all...]
convlit.go 30 var bad1 string = 1 // ERROR "conver|incompatible|invalid|cannot"
51 var _ []int = "abc" // ERROR "cannot use|incompatible|invalid"
52 var _ []byte = "abc" // ERROR "cannot use|incompatible|invalid"
62 var _ []rune = ss // ERROR "cannot use|incompatible|invalid"
63 var _ []byte = ss // ERROR "cannot use|incompatible|invalid"
73 var _ Trune = "abc" // ERROR "cannot use|incompatible|invalid"
74 var _ Tbyte = "abc" // ERROR "cannot use|incompatible|invalid"
alias2.go 48 // But aliases and original types cannot be used with new types based on them.
49 var _ N0 = T0{} // ERROR "cannot use T0 literal \(type T0\) as type N0 in assignment|incompatible type"
50 var _ N0 = A0{} // ERROR "cannot use T0 literal \(type T0\) as type N0 in assignment|incompatible type"
85 var _ N0 = T0{} // ERROR "cannot use T0 literal \(type T0\) as type N0 in assignment|incompatible type"
86 var _ N0 = A0{} // ERROR "cannot use T0 literal \(type T0\) as type N0 in assignment|incompatible type"
88 var _ A5 = Value{} // ERROR "cannot use reflect\.Value literal \(type reflect.Value\) as type A5 in assignment|incompatible type"
95 func (A1) m() {} // ERROR "cannot define new methods on non-local type int|may not define methods on non-local type"
97 func (A3) m() {} // ERROR "cannot define new methods on non-local type reflect.Value|may not define methods on non-local type"
98 func (A4) m() {} // ERROR "reflect.Value.m redeclared in this block" "cannot define new methods on non-local type reflect.Value|may not define methods on non-local type"
  /prebuilts/go/linux-x86/test/
const1.go 77 f(Int8) // ERROR "convert|wrong type|cannot"
78 f(Minus1) // ERROR "convert|wrong type|cannot"
79 f(Uint8) // ERROR "convert|wrong type|cannot"
81 f(Float32) // ERROR "convert|wrong type|cannot"
82 f(Float64) // ERROR "convert|wrong type|cannot"
85 f(Big) // ERROR "convert|wrong type|cannot"
86 f(String) // ERROR "convert|wrong type|cannot|incompatible"
87 f(Bool) // ERROR "convert|wrong type|cannot|incompatible"
93 const _ = unsafe.Pointer((*int)(nil)) // ERROR "cannot be nil|invalid constant type"
94 const _ = (*int)(nil) // ERROR "cannot be nil|invalid constant type
    [all...]
convlit.go 30 var bad1 string = 1 // ERROR "conver|incompatible|invalid|cannot"
51 var _ []int = "abc" // ERROR "cannot use|incompatible|invalid"
52 var _ []byte = "abc" // ERROR "cannot use|incompatible|invalid"
62 var _ []rune = ss // ERROR "cannot use|incompatible|invalid"
63 var _ []byte = ss // ERROR "cannot use|incompatible|invalid"
73 var _ Trune = "abc" // ERROR "cannot use|incompatible|invalid"
74 var _ Tbyte = "abc" // ERROR "cannot use|incompatible|invalid"

Completed in 758 milliseconds

1 2 34 5 6 7 8 91011>>