File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1374,7 +1374,7 @@ impl exprFormatter {
13741374 }
13751375
13761376 fn selector(&self, mut si: &ast::SelectorExpr) {
1377- self.format(si.Expr )
1377+ self.format(si.X )
13781378 self.write(".")
13791379 if self.fmt.row != si.Name.Row {
13801380 self.fmt.addIndent()
@@ -1410,7 +1410,7 @@ impl exprFormatter {
14101410 // println("error handling...")
14111411 // }
14121412 sie, _ := f.Func.Data.(&ast::SelectorExpr)
1413- if sie != nil && sie.Expr .Token.Row != sie.Name.Row {
1413+ if sie != nil && sie.X .Token.Row != sie.Name.Row {
14141414 self.fmt.addIndent()
14151415 defer { self.fmt.doneIndent() }
14161416 }
@@ -1581,7 +1581,7 @@ impl exprFormatter {
15811581 self.binary(kind.(&ast::BinaryExpr))
15821582 | &ast::CallExpr:
15831583 self.call(kind.(&ast::CallExpr))
1584- | &ast::KeyValueExpr | &ast::FieldExprPair :
1584+ | &ast::KeyValueExpr:
15851585 self.write("{...:...}")
15861586 | &ast::TypedBraceLit:
15871587 mut lit := kind.(&ast::TypedBraceLit)
You can’t perform that action at this time.
0 commit comments