| 1 | type MyInt = int |
| 2 | type EmptyLineAfterLastType = fn () int |
| 3 | |
| 4 | struct EmptyLineAfterStructs {} |
| 5 | |
| 6 | fn empty_line_after_functions() {} |
| 7 | |
| 8 | fn squash_multiple_empty_lines() { |
| 9 | println('a') |
| 10 | |
| 11 | println('b') |
| 12 | |
| 13 | dump('c') |
| 14 | |
| 15 | c := 0 |
| 16 | |
| 17 | d := 0 |
| 18 | } |
| 19 | |
| 20 | fn remove_leading_and_trailing_empty_lines() { |
| 21 | println('a') |
| 22 | |
| 23 | println('b') |
| 24 | |
| 25 | if test { |
| 26 | c := 0 |
| 27 | } else { |
| 28 | d := 0 |
| 29 | } |
| 30 | } |
| 31 |