- Notifications
You must be signed in to change notification settings - Fork146
[FEATURE] Add consumeWhitespaceWithComments and redirect consumeWhitespace (backported)#670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:v8.x
Are you sure you want to change the base?
Conversation
…space (MyIntervals#670)Having comsumeWhitespace also consume comments and returning them was unexpected.Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
a07190b
tob92f7c3
Compare…space (MyIntervals#670)Having comsumeWhitespace also consume comments and returning them was unexpected.Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
b92f7c3
to79b271f
Compare…space (MyIntervals#670)Having comsumeWhitespace also consume comments and returning them was unexpected.Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
79b271f
tod53d9ba
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks! Could you also add a test for the new method? (Copying and modifying the test for the other method should be fine.)
Uh oh!
There was an error while loading.Please reload this page.
|
Sorry, clicked the wrong buttons... |
This should go into |
And (as far as I see) as this isn't necessary for the bugfix (please correct me if I'm wrong) and does not provide any user-/developer facing new feature, I'd prefer this to go into |
Uh oh!
There was an error while loading.Please reload this page.
Having
consumeWhitespace
also consumes comments, and returning them was unexpected. This also "deprecates" the consumeWhitespace method and announces a breaking change for 9.0.0.