Fix parser warnings order#11479
Conversation
geekosaur
left a comment
There was a problem hiding this comment.
Fine aside from the missing field in the changelog.
|
Thanks! Let me get that fixed. |
7d06af6 to
65195c4
Compare
|
I do wonder if just doing a |
|
Yeah I thought of doing that at first, and figured it maybe made sense to just return the warnings in the correct order instead of having to reverse them. But I do not feel strongly, if that's preferred I'd be happy to make that change. |
|
No, I don't think it's really necessary. The downside of |
|
Just wondering if I need to be looking at those 'Validate' CI failures more closely. At least some of the failures seem to be flakes. Let me know if there's anything else I can look into to request a second approval to merge! |
|
The first one I opened has a newly reversed warning. |
Ah okay, thanks -- I'll take a look at these |
|
@omarjatoi could you please rebase this on master? |
22a3071 to
6ecd9c2
Compare
|
I've rebased, but after investigating some of the errors it seems that we parse the I created another branch with an approach that sorts by position (see: omarjatoi@8caeb97) which gets us what we want in all cases, I'm open to feedback on whether or not that approach makes sense. If yes, I'm happy to apply that in this PR. EDIT: I've pushed 98697f1 to this branch to let CI run, if this looks good I'll squash my commits and clean up the PR description. |
f2f4600 to
60d962c
Compare
|
Ok that did give us a successful CI run, I've squashed the changes into a single commit now. @geekosaur, I re-requested a review since I've changed the implementation since you approved, please take a look. Thanks! |
|
Hi @omarjatoi, CI is a bit bad, can you rebase? |
60d962c to
8b25b55
Compare
done, thanks for the heads up! |
See haskell#11269 for more information. This PR sorts the parse results by position so they're displayed in file order. Resolves: haskell#11269
8b25b55 to
2b6459c
Compare
See #11269 for more information. This PR changes the parse results to append warnings so they're displayed in-order.
This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significantin the changelog file.