- fixed printing of empty structs/interfaces
- enable two more tests
R=r
OCL=20296
CL=20296
P.state = opening_scope;
P.String(0, "{");
- if list != nil {
+ if list.Len() > 0 {
P.newlines = 1;
var prev int;
for i, n := 0, list.Len(); i < n; i++ {
for i, n := 0, list.Len(); i < n; i++ {
P.Stat(list.At(i).(*AST.Stat));
P.newlines = 1;
+ P.state = inside_list;
}
}
}
)
+type S struct {}
+
+
type T struct {
x, y int;
s string;
#echo $1 $2
case `basename $F` in
# these files don't pass the idempotency test yet
- log.go | decimal.go | type.go | tabwriter_test.go | \
+ log.go | type.go | \
\
selftest1.go | func3.go | bug014.go | bug029.go | bug032.go | bug050.go | \
bug068.go | bug088.go | bug083.go | bug106.go | bug125.go ) ;; # skip - files contain syntax errors