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

rename Session to make import collisions less likely #354

Merged
merged 3 commits into from
Jun 10, 2020

Conversation

tpolecat
Copy link
Contributor

Because repl.Session is in scope it ends up being impossible to import another symbol called Session, which makes it impossible to build the Skunk doc because the central abstraction is called Session ;-)

So this renames it to repl.MdocSession to make collisions less likely.

Copy link
Member

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

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

LGTM 👍 This is a great idea! The choice of repl.Session was pretty much random, I have wanted to make this configurable but this change is already a nice improvement

@olafurpg olafurpg merged commit 23d44c3 into scalameta:master Jun 10, 2020
@tpolecat tpolecat deleted the rename-session branch June 10, 2020 16:49
@olafurpg
Copy link
Member

I triggered a 2.2.2 release so this fix should be publicly available soon

@tpolecat
Copy link
Contributor Author

Brilliant, thanks!

@tpolecat
Copy link
Contributor Author

It looks like Sonatype timed out, could you re-run that action when you have a sec?

@olafurpg
Copy link
Member

The release succeeded after a retry

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.

2 participants