Skip to content

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