Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
0dd5be48
Commit
0dd5be48
authored
Apr 20, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing '}' (found by pretty)
R=r DELTA=1 (1 added, 0 deleted, 0 changed) OCL=27633 CL=27639
parent
d88fb9f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
declbad.go
test/declbad.go
+1
-0
No files found.
test/declbad.go
View file @
0dd5be48
...
@@ -17,6 +17,7 @@ func main() {
...
@@ -17,6 +17,7 @@ func main() {
// simple redeclaration
// simple redeclaration
i
:=
f1
();
i
:=
f1
();
i
:=
f1
();
// ERROR "redeclared"
i
:=
f1
();
// ERROR "redeclared"
}
{
{
// change of type for f
// change of type for f
i
,
f
,
s
:=
f3
();
i
,
f
,
s
:=
f3
();
...
...
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