bors[bot] 166c720425 Merge #770
770: Fix introduce var duplicating newlines r=matklad a=vipentti

This fixes #713.

If the block before the statement we want to use introduce var on, had empty
lines these empty lines would also be added between the let-statement and
the current line where the new variable is used.

This fixes that by trimming excess newlines from the start of the indent chunk
and simply adding a single newline (when the chunk had newlines) between the
let-statement and the current statement. If there were no newlines this
matches the previous behaviour.

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
2019-02-10 08:16:08 +00:00
..
2019-02-08 14:49:43 +03:00
2019-02-08 14:49:43 +03:00
2019-02-08 14:49:43 +03:00
2019-02-09 22:03:01 +01:00
2019-02-08 14:49:43 +03:00
2019-02-08 14:49:43 +03:00
2019-02-09 11:15:25 +01:00
2019-02-08 14:49:43 +03:00
2019-01-31 22:23:30 +02:00
2019-02-08 14:49:43 +03:00
2019-02-08 14:49:43 +03:00
2019-02-08 14:49:43 +03:00