mirror of
https://github.com/golang/go
synced 2024-11-25 13:57:57 -07:00
canonicalize bug122.go
R=rsc DELTA=6 (1 added, 3 deleted, 2 changed) OCL=30604 CL=30604
This commit is contained in:
parent
8d343e2d49
commit
23d9197160
@ -7,5 +7,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
func 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"
|
||||||
}
|
}
|
||||||
|
@ -228,9 +228,6 @@ fixedbugs/bug121.go:20: illegal types for operand: AS
|
|||||||
I
|
I
|
||||||
*S
|
*S
|
||||||
|
|
||||||
=========== fixedbugs/bug122.go
|
|
||||||
fixedbugs/bug122.go:6: too many arguments to make array
|
|
||||||
|
|
||||||
=========== fixedbugs/bug131.go
|
=========== fixedbugs/bug131.go
|
||||||
fixedbugs/bug131.go:7: cannot convert uint64 constant to int64
|
fixedbugs/bug131.go:7: cannot convert uint64 constant to int64
|
||||||
fixedbugs/bug131.go:7: illegal types for operand: AS
|
fixedbugs/bug131.go:7: illegal types for operand: AS
|
||||||
|
Loading…
Reference in New Issue
Block a user