Skip to content
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

Format Fixes #710

Merged
merged 9 commits into from
Jun 14, 2024
Merged

Format Fixes #710

merged 9 commits into from
Jun 14, 2024

Conversation

SWW13
Copy link
Contributor

@SWW13 SWW13 commented Jun 13, 2024

This pull requests fixes issue #684, #690 and #703 and adds multiple tests to ensure formatting works as expected.

I also tested against all rune files in the project to make sure no new regression is introduced.

@udoprog udoprog added the enhancement New feature or request label Jun 14, 2024
@udoprog
Copy link
Collaborator

udoprog commented Jun 14, 2024

Hey, Thanks for fixing these!

Rebased since a new stable release happened with a few new changes.

Note that nightly is expected to be broken for now. It is just a canary.

@udoprog udoprog enabled auto-merge (squash) June 14, 2024 13:48
@udoprog udoprog disabled auto-merge June 14, 2024 13:53
@udoprog
Copy link
Collaborator

udoprog commented Jun 14, 2024

Got a legit test failure I've not dug into: https://github.com/rune-rs/rune/actions/runs/9517091651/job/26235234512?pr=710#step:6:1174

@SWW13
Copy link
Contributor Author

SWW13 commented Jun 14, 2024

That's due to this change: 2d4da8e

Previously the trailing / was missing, so I assumed the span end must be after the char for it to be included.

@udoprog udoprog merged commit 744033b into rune-rs:main Jun 14, 2024
20 of 21 checks passed
@udoprog
Copy link
Collaborator

udoprog commented Jun 14, 2024

Very nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants