Commit 72bb758
authored
Only remove -spec/-type from first line (#1894)
Before this change a spec looking like this:
```
-spec foo(integer()) -> ok;
(atom()) -> ok.
```
would be transformed to:
```
-spec foo(integer()) -> ok;
(atom()) -> ok.
```
that is the second clause would be indented incorrectly.1 parent 7f8e971 commit 72bb758
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
713 | 717 | | |
714 | 718 | | |
715 | 719 | | |
| |||
723 | 727 | | |
724 | 728 | | |
725 | 729 | | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | 730 | | |
0 commit comments