Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
717de799
Commit
717de799
authored
Oct 06, 2008
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change in spec results in non-error
R=gri DELTA=4 (0 added, 3 deleted, 1 changed) OCL=16565 CL=16579
parent
1b257b2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
test/func3.go
test/func3.go
+1
-1
test/golden.out
test/golden.out
+0
-3
No files found.
test/func3.go
View file @
717de799
...
@@ -14,4 +14,4 @@ func f1(*t2, x t3); // ERROR "named"
...
@@ -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.
test/golden.out
View file @
717de799
=========== ./func3.go
BUG: errchk: func3.go: missing expected error message on line 14: 'type'
=========== ./helloworld.go
=========== ./helloworld.go
hello, world
hello, world
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment