]> Cypherpunks repositories - gostls13.git/commitdiff
update bugs
authorRob Pike <r@golang.org>
Wed, 13 Aug 2008 00:07:33 +0000 (17:07 -0700)
committerRob Pike <r@golang.org>
Wed, 13 Aug 2008 00:07:33 +0000 (17:07 -0700)
exploit the compiler now supporting i2s and i2i and clean up some code
fix up some panics and prints

R=gri
OCL=14141
CL=14141

src/lib/container/vector.go
test/fixedbugs/bug054.go [moved from test/bugs/bug054.go with 100% similarity]
test/fixedbugs/bug089.go [moved from test/bugs/bug089.go with 100% similarity]
test/golden.out

index c3ec0d390f0defb8c104ec99a8b7bc56c5cd59f6..b4a910a9e22db2bb4945f953a7068f6b348af0e3 100644 (file)
@@ -121,6 +121,7 @@ func Test() {
        v.Insert(0, i1);
        v.Insert(0, i0);
        for i := 0; i < v.Len(); i++ {
+               x := convert(*I, v.At(i));
                print(i, " ", v.At(i).(*I).val, "\n");
        }
 }
similarity index 100%
rename from test/bugs/bug054.go
rename to test/fixedbugs/bug054.go
similarity index 100%
rename from test/bugs/bug089.go
rename to test/fixedbugs/bug089.go
index 5fd5cbc343e7c8b290fbb2064d79397f131a6fa4..78a8ba01cedd2987ac01325ab3e46bc802b5bf02 100644 (file)
@@ -87,10 +87,6 @@ bugs/bug048.go:7: illegal types for operand: CONV
        (MAP[<int32>INT32]<int32>INT32)
 BUG: known to fail incorrectly
 
-=========== bugs/bug054.go
-bugs/bug054.go:25: fatal error: agen_inter i2s
-BUG: known to fail incorrectly
-
 =========== bugs/bug061.go
 bugs/bug061.go:7: illegal types for operand: SLICE
 bugs/bug061.go:7: illegal types for operand: AS
@@ -186,10 +182,6 @@ bugs/bug088.dir/bug1.go:8: illegal types for operand: AS
        (<(bug0)P.int32>INT32)
 BUG: fails incorrectly
 
-=========== bugs/bug089.go
-bugs/bug089.go:16: fatal error: agen_inter i2i
-BUG: should compile
-
 =========== fixedbugs/bug015.go
 fixedbugs/bug015.go:7: overflow converting constant to <int64>INT64