mirror of
https://github.com/golang/go
synced 2024-11-22 12:14:42 -07:00
bug170; fix test for bug175
R=ken OCL=32255 CL=32255
This commit is contained in:
parent
a587d9a73f
commit
b7dd312c93
@ -145,10 +145,14 @@ convlit1(Node **np, Type *t, int explicit)
|
|||||||
// let normal conversion code handle it
|
// let normal conversion code handle it
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
case TARRAY:
|
||||||
|
if(!isslice(t))
|
||||||
|
goto bad;
|
||||||
|
break;
|
||||||
|
|
||||||
case TPTR32:
|
case TPTR32:
|
||||||
case TPTR64:
|
case TPTR64:
|
||||||
case TINTER:
|
case TINTER:
|
||||||
case TARRAY:
|
|
||||||
case TMAP:
|
case TMAP:
|
||||||
case TCHAN:
|
case TCHAN:
|
||||||
case TFUNC:
|
case TFUNC:
|
||||||
|
@ -109,9 +109,6 @@ BUG: should fail
|
|||||||
=========== bugs/bug169.go
|
=========== bugs/bug169.go
|
||||||
BUG: errchk: command succeeded unexpectedly
|
BUG: errchk: command succeeded unexpectedly
|
||||||
|
|
||||||
=========== bugs/bug170.go
|
|
||||||
BUG: errchk: command succeeded unexpectedly
|
|
||||||
|
|
||||||
=========== fixedbugs/bug016.go
|
=========== fixedbugs/bug016.go
|
||||||
fixedbugs/bug016.go:7: constant -3 overflows uint
|
fixedbugs/bug016.go:7: constant -3 overflows uint
|
||||||
|
|
||||||
@ -235,9 +232,3 @@ fixedbugs/bug131.go:7: illegal types for operand: AS
|
|||||||
fixedbugs/bug133.dir/bug2.go:11: undefined: bug0.T field i
|
fixedbugs/bug133.dir/bug2.go:11: undefined: bug0.T field i
|
||||||
fixedbugs/bug133.dir/bug2.go:11: illegal types for operand: RETURN
|
fixedbugs/bug133.dir/bug2.go:11: illegal types for operand: RETURN
|
||||||
int
|
int
|
||||||
|
|
||||||
=========== fixedbugs/bug175.go
|
|
||||||
fixedbugs/bug175.go:8: use of multi func value as single value in :=
|
|
||||||
fixedbugs/bug175.go:8: undefined: x
|
|
||||||
fixedbugs/bug175.go:8: illegal types for operand: AS
|
|
||||||
(int, bool)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user