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
23d91971
Commit
23d91971
authored
Jun 22, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
canonicalize bug122.go
R=rsc DELTA=6 (1 added, 3 deleted, 2 changed) OCL=30604 CL=30604
parent
8d343e2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
bug122.go
test/fixedbugs/bug122.go
+2
-1
golden.out
test/golden.out
+0
-3
No files found.
test/fixedbugs/bug122.go
View file @
23d91971
...
...
@@ -7,5 +7,6 @@
package
main
func
main
()
{
a
:=
make
([]
int
,
10
,
20
,
30
,
40
);
// should allow at most 2 sizes
// should allow at most 2 sizes
a
:=
make
([]
int
,
10
,
20
,
30
,
40
);
// ERROR "too many"
}
test/golden.out
View file @
23d91971
...
...
@@ -228,9 +228,6 @@ fixedbugs/bug121.go:20: illegal types for operand: AS
I
*S
=========== fixedbugs/bug122.go
fixedbugs/bug122.go:6: too many arguments to make array
=========== fixedbugs/bug131.go
fixedbugs/bug131.go:7: cannot convert uint64 constant to int64
fixedbugs/bug131.go:7: illegal types for operand: AS
...
...
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