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

Reflection: forward compat for 2.10.1 #7064

Closed
scabug opened this Issue Feb 4, 2013 · 4 comments

Comments

Projects
None yet
2 participants
@scabug
Copy link

scabug commented Feb 4, 2013

pendingSuperCall introduced in a pre-typemacros commit isn't forward compatible with 2.10.0. We need to allow structurally equal alternatives to be used in its place and keep pendingSuperCall itself out of the API until 2.11.

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Feb 4, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7064?orig=1
Reporter: @xeno-by
Affected Versions: 2.10.1-RC1

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Feb 4, 2013

@xeno-by said:
There's more (see http://groups.google.com/group/scala-internals/browse_thread/thread/5bbef97f4ae9782b for details):

  1. class scala.reflect.macros.Attachments#NonemptyAttachments does not have a correspondent in new version

  2. method pendingSuperCall()scala.reflect.api.Trees#TreeApi in trait scala.reflect.api.Trees does not have a correspondent in old version

  3. method canHaveAttrs()Boolean in trait scala.reflect.api.Trees#TreeApi does not have a correspondent in old version

  4. abstract method emptyValDef()scala.reflect.api.Trees#TreeApi in class scala.reflect.api.BuildUtils#BuildApi does not have a correspondent in new version

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Feb 4, 2013

@retronym said:
NonemptyAttachments is private; it used to be Attachments$NonemptyAttachments. No class other than Attachments can reference this.

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Feb 4, 2013

@scabug scabug closed this Feb 7, 2013

@scabug scabug added this to the 2.10.1 milestone Apr 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment