Commit 717de799 authored by Rob Pike's avatar Rob Pike

change in spec results in non-error

R=gri
DELTA=4  (0 added, 3 deleted, 1 changed)
OCL=16565
CL=16579
parent 1b257b2b
......@@ -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.
=========== ./func3.go
BUG: errchk: func3.go: missing expected error message on line 14: 'type'
=========== ./helloworld.go
hello, world
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment