Commit 0f1d439e authored by Rob Pike's avatar Rob Pike

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
parent ead7a6d4
...@@ -121,6 +121,7 @@ func Test() { ...@@ -121,6 +121,7 @@ func Test() {
v.Insert(0, i1); v.Insert(0, i1);
v.Insert(0, i0); v.Insert(0, i0);
for i := 0; i < v.Len(); i++ { for i := 0; i < v.Len(); i++ {
x := convert(*I, v.At(i));
print(i, " ", v.At(i).(*I).val, "\n"); print(i, " ", v.At(i).(*I).val, "\n");
} }
} }
......
...@@ -87,10 +87,6 @@ bugs/bug048.go:7: illegal types for operand: CONV ...@@ -87,10 +87,6 @@ bugs/bug048.go:7: illegal types for operand: CONV
(MAP[<int32>INT32]<int32>INT32) (MAP[<int32>INT32]<int32>INT32)
BUG: known to fail incorrectly 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
bugs/bug061.go:7: illegal types for operand: SLICE bugs/bug061.go:7: illegal types for operand: SLICE
bugs/bug061.go:7: illegal types for operand: AS bugs/bug061.go:7: illegal types for operand: AS
...@@ -186,10 +182,6 @@ bugs/bug088.dir/bug1.go:8: illegal types for operand: AS ...@@ -186,10 +182,6 @@ bugs/bug088.dir/bug1.go:8: illegal types for operand: AS
(<(bug0)P.int32>INT32) (<(bug0)P.int32>INT32)
BUG: fails incorrectly BUG: fails incorrectly
=========== bugs/bug089.go
bugs/bug089.go:16: fatal error: agen_inter i2i
BUG: should compile
=========== fixedbugs/bug015.go =========== fixedbugs/bug015.go
fixedbugs/bug015.go:7: overflow converting constant to <int64>INT64 fixedbugs/bug015.go:7: overflow converting constant to <int64>INT64
......
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