Commit f9cc900a authored by Rob Pike's avatar Rob Pike

bugs cleanup, including deleting one near-identical duplicate bug

R=rsc
DELTA=52  (15 added, 37 deleted, 0 changed)
OCL=24274
CL=24274
parent c55d310c
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// $G $D/$F.go || echo BUG: should compile
package P
var x int
func f() int {
return P.x // P should be visible
}
/*
uetli:~/Source/go1/test/bugs gri$ 6g bug105.go
bug105.go:8: P: undefined
bug105.go:9: illegal types for operand: RETURN
(<int32>INT32)
*/
...@@ -117,9 +117,6 @@ abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz ...@@ -117,9 +117,6 @@ abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
=========== chan/nonblock.go =========== chan/nonblock.go
PASS PASS
=========== bugs/bug041.go
bugs/bug041.go:5: export of incomplete type t
=========== bugs/bug064.go =========== bugs/bug064.go
bugs/bug064.go:15: illegal types for operand: CALL bugs/bug064.go:15: illegal types for operand: CALL
int int
...@@ -135,12 +132,6 @@ bugs/bug087.go:8: illegal combination of literals LEN 9 ...@@ -135,12 +132,6 @@ bugs/bug087.go:8: illegal combination of literals LEN 9
bugs/bug087.go:8: illegal combination of literals LEN 9 bugs/bug087.go:8: illegal combination of literals LEN 9
BUG: fails incorrectly BUG: fails incorrectly
=========== bugs/bug105.go
bugs/bug105.go:8: P: undefined
bugs/bug105.go:8: illegal types for operand: RETURN
int
BUG: should compile
=========== bugs/bug108.go =========== bugs/bug108.go
bugs/bug108.go:4: stupid shift: 1025 bugs/bug108.go:4: stupid shift: 1025
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug108.go BUG: errchk: command succeeded unexpectedly: 6g bugs/bug108.go
...@@ -209,6 +200,9 @@ fixedbugs/bug037.go:6: illegal types for operand: AS ...@@ -209,6 +200,9 @@ fixedbugs/bug037.go:6: illegal types for operand: AS
fixedbugs/bug039.go:6: variable x redeclared in this block fixedbugs/bug039.go:6: variable x redeclared in this block
previous declaration at fixedbugs/bug039.go:5 previous declaration at fixedbugs/bug039.go:5
=========== fixedbugs/bug041.go
fixedbugs/bug041.go:5: export of incomplete type t
=========== fixedbugs/bug049.go =========== fixedbugs/bug049.go
fixedbugs/bug049.go:6: illegal conversion of nil to string fixedbugs/bug049.go:6: illegal conversion of nil to string
......
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