]> Cypherpunks repositories - gostls13.git/commitdiff
update fixed bugs (and delete an irrelevant one)
authorRob Pike <r@golang.org>
Fri, 17 Oct 2008 18:48:51 +0000 (11:48 -0700)
committerRob Pike <r@golang.org>
Fri, 17 Oct 2008 18:48:51 +0000 (11:48 -0700)
R=rsc
DELTA=328  (158 added, 170 deleted, 0 changed)
OCL=17353
CL=17359

test/bugs/bug079.go [deleted file]
test/fixedbugs/bug074.go [moved from test/bugs/bug074.go with 100% similarity]
test/fixedbugs/bug090.go [moved from test/bugs/bug090.go with 100% similarity]
test/fixedbugs/bug093.go [moved from test/bugs/bug093.go with 100% similarity]
test/fixedbugs/bug096.go [moved from test/bugs/bug096.go with 100% similarity]
test/fixedbugs/bug106.dir/bug0.go [moved from test/bugs/bug106.dir/bug0.go with 100% similarity]
test/fixedbugs/bug106.dir/bug1.go [moved from test/bugs/bug106.dir/bug1.go with 100% similarity]
test/fixedbugs/bug106.go [moved from test/bugs/bug106.go with 100% similarity]
test/golden.out

diff --git a/test/bugs/bug079.go b/test/bugs/bug079.go
deleted file mode 100644 (file)
index d26b071..0000000
+++ /dev/null
@@ -1,12 +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: succeeds incorrectly
-
-package main
-
-func f(int);  // parameter must be named
-func g(int, int);  // parameter must be named
-
-/* We had this discussion before and agreed that all parameters must be named. */
similarity index 100%
rename from test/bugs/bug074.go
rename to test/fixedbugs/bug074.go
similarity index 100%
rename from test/bugs/bug090.go
rename to test/fixedbugs/bug090.go
similarity index 100%
rename from test/bugs/bug093.go
rename to test/fixedbugs/bug093.go
similarity index 100%
rename from test/bugs/bug096.go
rename to test/fixedbugs/bug096.go
similarity index 100%
rename from test/bugs/bug106.go
rename to test/fixedbugs/bug106.go
index c96ae5bffe9606b5cbbc8e557ceb2b69525664f8..19988f2aa4bf26737aa5b83cce373c6c7f32a6b6 100644 (file)
@@ -94,18 +94,9 @@ bugs/bug064.go:15: illegal types for operand: CALL
        struct { u int32; v int32 }
 BUG: compilation should succeed
 
-=========== bugs/bug074.go
-bugs/bug074.go:6: syntax error near string
-bugs/bug074.go:6: syntax error near string
-bugs/bug074.go:7: x: undefined
-BUG: compiler crashes - Bus error
-
 =========== bugs/bug077.go
 BUG: known to succeed incorrectly
 
-=========== bugs/bug079.go
-BUG: succeeds incorrectly
-
 =========== bugs/bug080.go
 bugs/bug080.go:12: illegal types for operand: CALL
        int32
@@ -124,21 +115,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/bug090.go
-bugs/bug090.go:32: cannot convert non-integer constant to int32
-bugs/bug090.go:32: illegal types for operand: AS
-       int32
-bugs/bug090.go:34: cannot convert non-integer constant to int32
-bugs/bug090.go:34: illegal types for operand: CALL
-       bool
-bugs/bug090.go:40: cannot convert non-integer constant to int32
-bugs/bug090.go:40: illegal types for operand: AS
-       int32
-       float64
-
-=========== bugs/bug093.go
-M
-
 =========== bugs/bug095.go
 found 2, expected 1
 
@@ -254,16 +230,36 @@ fixedbugs/bug073.go:9: illegal types for operand: RSH
        int32
        int32
 
+=========== fixedbugs/bug074.go
+fixedbugs/bug074.go:6: syntax error near string
+fixedbugs/bug074.go:6: syntax error near string
+fixedbugs/bug074.go:7: x: undefined
+
 =========== fixedbugs/bug081.go
 fixedbugs/bug081.go:5: syntax error near x
 
 =========== fixedbugs/bug086.go
 fixedbugs/bug086.go:5: function ends without a return statement
 
+=========== fixedbugs/bug090.go
+fixedbugs/bug090.go:32: cannot convert non-integer constant to int32
+fixedbugs/bug090.go:32: illegal types for operand: AS
+       int32
+fixedbugs/bug090.go:34: cannot convert non-integer constant to int32
+fixedbugs/bug090.go:34: illegal types for operand: CALL
+       bool
+fixedbugs/bug090.go:40: cannot convert non-integer constant to int32
+fixedbugs/bug090.go:40: illegal types for operand: AS
+       int32
+       float64
+
 =========== fixedbugs/bug091.go
 fixedbugs/bug091.go:15: c: undefined
 fixedbugs/bug091.go:15: illegal types for operand: AS
        undefined
 
+=========== fixedbugs/bug093.go
+M
+
 =========== fixedbugs/bug103.go
 fixedbugs/bug103.go:8: function requires a return type