File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -1818,7 +1818,7 @@ impl<'a> DocBuild<'a> for ConstructorBody {
1818
1818
if c. has_trailing_newline {
1819
1819
result. push ( b. empty_new_line ( ) ) ;
1820
1820
} else {
1821
- result. push ( b. nl ( ) ) ;
1821
+ result. push ( b. indent ( b . nl ( ) ) ) ;
1822
1822
}
1823
1823
}
1824
1824
} else {
Original file line number Diff line number Diff line change
1
+ // https://github.com/xixiaofinland/afmt/issues/92
2
+ // the line after super() is not indented correctly;
3
+ class A {
4
+ public createEventProerties (String origin , String period ) {
5
+ super (OriginSalesforce );
6
+ System .debug (' hello' );
7
+ }
8
+ }
Original file line number Diff line number Diff line change
1
+ // https://github.com/xixiaofinland/afmt/issues/92
2
+ // the line after super() is not indented correctly;
3
+ class A {
4
+ public createEventProerties(String origin, String period) {
5
+ super(OriginSalesforce);
6
+ System.debug('hello');
7
+ }
8
+ }
You can’t perform that action at this time.
0 commit comments