Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 8, 2020

Bug fix for a quite specific situation:

  • If a new line was the expected spacing
  • AND the "first" token was a slash comment
  • AND the "second" token was on the new line without indentation
  • THEN an error would be throw and if the fixer was invoked, a stray new line would be added.

Fixed now.

Includes additional unit tests safeguarding the fix.

Bug fix for a quite specific situation:
* If a new line was the expected spacing
* AND the "first" token was a slash comment
* AND the "second" token was on the new line without indentation
* THEN an error would be throw and if the fixer was invoked, a stray new line would be added.

Fixed now.

Includes additional unit tests safeguarding the fix.
@jrfnl jrfnl added this to the 1.0.0-alpha4 milestone Nov 8, 2020
@jrfnl jrfnl merged commit c677ffc into develop Nov 8, 2020
@jrfnl jrfnl deleted the spacesfixer/bugfix-comment-vs-newline branch November 8, 2020 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants