More attempts at fixing .. breakage.

This commit is contained in:
Graydon Hoare 2012-08-14 05:17:38 +00:00
parent 96007441e1
commit 8271b3f0c8
2 changed files with 1 additions and 2 deletions

View file

@ -1037,7 +1037,6 @@ fn print_expr(s: ps, &&expr: @ast::expr) {
commasep_cmnt(s, consistent, fields, print_field, get_span);
match wth {
some(expr) => {
if vec::len(fields) > 0u { space(s.s); }
ibox(s, indent_unit);
word(s.s, ~",");
space(s.s);

View file

@ -3,6 +3,6 @@ type thing = {x: int, y: int,};
fn main() {
let sth = {x: 0, y: 1,};
let sth2 = {y: 9 ..sth};
let sth2 = {y: 9, ..sth};
assert sth.x + sth2.y == 9;
}