summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-08-12 17:07:33 -0700
committerRob Pike <r@golang.org>2008-08-12 17:07:33 -0700
commit16ae7b9967ee04f18dbb19fab4b58617a5399f59 (patch)
treeea030cbc0c2f1171ebb860ddb91f8c85d7924cf7
parent2688392be7b753bf641ff815a652d5c0e7554c51 (diff)
downloadgolang-16ae7b9967ee04f18dbb19fab4b58617a5399f59.tar.gz
update bugs
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
-rw-r--r--src/lib/container/vector.go1
-rw-r--r--test/fixedbugs/bug054.go (renamed from test/bugs/bug054.go)0
-rw-r--r--test/fixedbugs/bug089.go (renamed from test/bugs/bug089.go)0
-rw-r--r--test/golden.out8
4 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/container/vector.go b/src/lib/container/vector.go
index c3ec0d390..b4a910a9e 100644
--- a/src/lib/container/vector.go
+++ b/src/lib/container/vector.go
@@ -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");
}
}
diff --git a/test/bugs/bug054.go b/test/fixedbugs/bug054.go
index a91773e22..a91773e22 100644
--- a/test/bugs/bug054.go
+++ b/test/fixedbugs/bug054.go
diff --git a/test/bugs/bug089.go b/test/fixedbugs/bug089.go
index 296e9e6d6..296e9e6d6 100644
--- a/test/bugs/bug089.go
+++ b/test/fixedbugs/bug089.go
diff --git a/test/golden.out b/test/golden.out
index 5fd5cbc34..78a8ba01c 100644
--- a/test/golden.out
+++ b/test/golden.out
@@ -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