-
Notifications
You must be signed in to change notification settings - Fork 144
[BUGFIX] Render rules in line and column number order #1059
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3332640
to
149d5ea
Compare
There 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.
This seems to work. I had overlooked a couple of things:
RuleSet::addRule()
automatically sets the line number to one more than the previous highest, so they don't need setting explicitly;- The values can be simply set a strings, and don't need the creation of
Value
objects.
If you change the PR number in the changelog, and review my other comment to double-check, I'd be happy for this to supersede #1058.
149d5ea
to
5f2525d
Compare
@JakeQZ Should we backport this? What do you think? |
Probably good to backport bugfixes of behavioural bugs, since 9,0 may be some time away... |
This is the V8.x backport of #1059.
This is the V8.x backport of #1059.
This is the V8.x backport of #1059.
This is the V8.x backport of #1059.
This is the V8.x backport of #1059.
This is the V8.x backport of #1059.
Fixes #1052
Closes #1058