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

Fix SeqPathChunk #160

Merged
merged 3 commits into from
Apr 4, 2023
Merged

Fix SeqPathChunk #160

merged 3 commits into from
Apr 4, 2023

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Mar 24, 2023

Fixes #159

@lihaoyi lihaoyi requested review from lefou and lolgab March 24, 2023 08:05
Comment on lines 44 to 45
var segments0 = Nil
var ups0 = 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea, why these are here? Could you add some @deprecated on them, so we can remove them in the next major bump?

Comment on lines 429 to 431
val result = os.rel / Seq(os.up, os.rel/"hello", os.rel/"world")
val expected = os.up / "hello" / "world"
assert(result == expected)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to also cover the ArrayPathChunk case here, as it's also affected by #159.

@lihaoyi
Copy link
Member Author

lihaoyi commented Mar 24, 2023

@lefou do you know what to do with these os.jvm[3.1.3].checkFormat Found 1 misformatted files errors? Is there some command I can run to autoformat things compliantly?

@lefou
Copy link
Member

lefou commented Mar 26, 2023

@lefou do you know what to do with these os.jvm[3.1.3].checkFormat Found 1 misformatted files errors? Is there some command I can run to autoformat things compliantly?

Yeah. You can run:

$ mill __.reformat

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

Successfully merging this pull request may close these issues.

Leading os.up in a Seq used in a path segment are not properly handled
2 participants