- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for illegally (0.54 sec)
-
test/indirect1.go
// it decides there are type errors. x := len(m0)+ len(m1)+ // ERROR "illegal|invalid|must be" len(m2)+ // ERROR "illegal|invalid|must be" len(m3)+ len(m4)+ // ERROR "illegal|invalid|must be" len(s0)+ len(s1)+ // ERROR "illegal|invalid|must be" len(s2)+ // ERROR "illegal|invalid|must be" len(s3)+ len(s4)+ // ERROR "illegal|invalid|must be" len(a0)+ len(a1)+ len(a2)+ cap(a0)+
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 07:47:26 UTC 2012 - 1.5K bytes - Viewed (0) -
test/fixedbugs/bug212.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 463 bytes - Viewed (0) -
test/fixedbugs/bug022.go
package main func putint(digits *string) { var i byte; i = (*digits)[7]; // compiles i = digits[7]; // ERROR "illegal|is not|invalid" _ = i; } func main() { s := "asdfasdfasdfasdf"; putint(&s); } /* bug022.go:8: illegal types for operand (*<string>*STRING) INDEXPTR (<int32>INT32) bug022.go:8: illegal types for operand (<uint8>UINT8) AS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 529 bytes - Viewed (0) -
test/fixedbugs/bug170.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 412 bytes - Viewed (0) -
test/fixedbugs/bug109.go
package bug109 func f(a float64) float64 { e := 1.0 e = e * a return e } /* 6g bugs/bug109.go bugs/bug109.go:5: illegal types for operand: MUL (<float64>FLOAT64) (<float32>FLOAT32) bugs/bug109.go:5: illegal types for operand: AS (<float64>FLOAT64) bugs/bug109.go:6: illegal types for operand: RETURN (<float32>FLOAT32) (<float64>FLOAT64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 523 bytes - Viewed (0) -
test/chan/perm.go
var ( cr <-chan int cs chan<- int c chan int ) func main() { cr = c // ok cs = c // ok c = cr // ERROR "illegal types|incompatible|cannot" c = cs // ERROR "illegal types|incompatible|cannot" cr = cs // ERROR "illegal types|incompatible|cannot" cs = cr // ERROR "illegal types|incompatible|cannot" var n int <-n // ERROR "receive from non-chan|expected channel"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 14 23:33:46 UTC 2021 - 1.4K bytes - Viewed (0) -
test/fixedbugs/bug324.dir/prog.go
var px p.Exported px = p.X // this assignment is correctly illegal: // px.private undefined (cannot refer to unexported field or method private) // px.private() // this assignment is correctly illegal: // *Implementation does not implement p.Exported (missing p.private method) // px = new(Implementation) // this assignment is correctly illegal: // p.Exported does not implement Exported (missing private method)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 07 16:37:05 UTC 2012 - 1.2K bytes - Viewed (0) -
test/fixedbugs/issue4405.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 413 bytes - Viewed (0) -
src/go/types/token_test.go
token.SHR_ASSIGN: token.SHR, token.AND_NOT_ASSIGN: token.AND_NOT, } func TestZeroTok(t *testing.T) { // zero value for token.Token must be token.ILLEGAL var zero token.Token if token.ILLEGAL != zero { t.Errorf("%s == %d; want 0", token.ILLEGAL, zero) } } func TestAssignOp(t *testing.T) { // there are fewer than 256 tokens for i := 0; i < 256; i++ { tok := token.Token(i) got := assignOp(tok)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 08 03:40:04 UTC 2015 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathValidationTest.groovy
e.message =~ "contains illegal" when: ModelPath.validateName("aü") then: e = thrown(ModelPath.InvalidNameException) e.message =~ "contains illegal" when: ModelPath.validateName("abü") then: e = thrown(ModelPath.InvalidNameException) e.message =~ "contains illegal" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3K bytes - Viewed (0)