Skip to content

Refactorings #61

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

Merged
merged 3 commits into from
Nov 27, 2018
Merged

Conversation

alexarchambault
Copy link
Collaborator

These are simple refactorings, that make it easier to add dotty support later on (will update #60 with it once this is merged).

Copy link
Collaborator

@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 👍 The diff is quite difficult to read but SourceContext.scala is nicer on the eye now with all the macro code moved into a separate file https://github.com/lihaoyi/sourcecode/blob/6be8b040a4f0c9ab3d10b6b8b66f1bf7f5360d68/sourcecode/shared/src/main/scala/sourcecode/SourceContext.scala

It might be good to enable mima to know if these changes cause binary incompatibilities. I suspect there are no bincompat issues here since calls to the implicit generate methods do not exist in bytecode.

@alexarchambault
Copy link
Collaborator Author

Agreed with mima. I'll probably add it another PR.

@alexarchambault alexarchambault merged commit 23d11b3 into com-lihaoyi:master Nov 27, 2018
@alexarchambault alexarchambault deleted the topic/refacto branch November 27, 2018 10:24
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