Skip to content

Pickling modularization reorg #520

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 1 commit into from
May 3, 2015

Conversation

odersky
Copy link
Contributor

@odersky odersky commented May 2, 2015

The pickling package got rather large and confusing with three
separate tasks that each had their own conventions: read JVM classfiles,
read Scala2 pickle info, read and write Tasty. The classes for each task are now in
separate packages.

The pickling package got rather large and confusing with three
separate tasks that each had their own conventions: read JVM classfiles,
read Scala2 pickle info, read Tasty. The classes for each task are now in
separate packages.
@@ -27,7 +27,7 @@ trait TreeInfo[T >: Untyped <: Type] { self: Trees.Instance[T] =>
/** Does tree contain an initialization part when seen as a member of a class or trait?
*/
def isNoInitMember(tree: Tree): Boolean = unsplice(tree) match {
case EmptyTree | Import(_, _) | TypeDef(_, _) => true
case EmptyTree | Import(_, _) | TypeDef(_, _) | DefDef(_, _, _, _, _) => true
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems unrelated to this PR.

@DarkDimius
Copy link
Contributor

Otherwise LGTM

@odersky
Copy link
Contributor Author

odersky commented May 2, 2015

Yes, that should have been part of some other pull request. I believe the
other one is already in, so this is redundant.

On Sat, May 2, 2015 at 9:56 PM, Dmitry Petrashko [email protected]
wrote:

Otherwise LGTM


Reply to this email directly or view it on GitHub
#520 (comment).

Martin Odersky
EPFL

odersky added a commit that referenced this pull request May 3, 2015
@odersky odersky merged commit c834118 into scala:master May 3, 2015
@allanrenucci allanrenucci deleted the refactor/pickling branch December 14, 2017 19: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