mirror of
https://github.com/golang/go
synced 2024-11-21 19:14:44 -07:00
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:
parent
1b257b2bb3
commit
717de79976
@ -14,4 +14,4 @@ func f1(*t2, x t3); // ERROR "named"
|
|||||||
func f2(t1, *t2, x t3); // ERROR "named"
|
func f2(t1, *t2, x t3); // ERROR "named"
|
||||||
func f3() (x int, *string); // 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.
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
|
|
||||||
=========== ./func3.go
|
|
||||||
BUG: errchk: func3.go: missing expected error message on line 14: 'type'
|
|
||||||
|
|
||||||
=========== ./helloworld.go
|
=========== ./helloworld.go
|
||||||
hello, world
|
hello, world
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user