mirror of
https://github.com/golang/go
synced 2024-11-11 22:20:22 -07:00
bugs cleanup, including deleting one near-identical duplicate bug
R=rsc DELTA=52 (15 added, 37 deleted, 0 changed) OCL=24274 CL=24274
This commit is contained in:
parent
c55d310cd2
commit
f9cc900ae8
@ -1,20 +0,0 @@
|
||||
// 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
|
||||
=========== chan/nonblock.go
|
||||
PASS
|
||||
|
||||
=========== bugs/bug041.go
|
||||
bugs/bug041.go:5: export of incomplete type t
|
||||
|
||||
=========== bugs/bug064.go
|
||||
bugs/bug064.go:15: illegal types for operand: CALL
|
||||
int
|
||||
@ -135,12 +132,6 @@ bugs/bug087.go:8: illegal combination of literals LEN 9
|
||||
bugs/bug087.go:8: illegal combination of literals LEN 9
|
||||
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:4: stupid shift: 1025
|
||||
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug108.go
|
||||
@ -209,6 +200,9 @@ fixedbugs/bug037.go:6: illegal types for operand: AS
|
||||
fixedbugs/bug039.go:6: variable x redeclared in this block
|
||||
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:6: illegal conversion of nil to string
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user