change in spec results in non-error

R=gri
DELTA=4  (0 added, 3 deleted, 1 changed)
OCL=16565
CL=16579
This commit is contained in:
Rob Pike 2008-10-06 16:27:14 -07:00
parent 1b257b2bb3
commit 717de79976
2 changed files with 1 additions and 4 deletions

View file

@ -14,4 +14,4 @@ func f1(*t2, x t3); // ERROR "named"
func f2(t1, *t2, x t3); // ERROR "named"
func f3() (x int, *string); // ERROR "named"
func f4() (t1 t1); // ERROR "type"
func f4() (t1 t1); // legal - scope of parameter named t1 starts in body of f4.

View file

@ -1,7 +1,4 @@
=========== ./func3.go
BUG: errchk: func3.go: missing expected error message on line 14: 'type'
=========== ./helloworld.go
hello, world