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

SI-6035 - retain specialized flag in separate compilation. #872

Closed
wants to merge 1 commit into from

Conversation

axel22
Copy link
Member

@axel22 axel22 commented Jul 11, 2012

This solution does not pickle the specialize flag on the symbol of the
specialized type parameter.
Instead, it recreates the specialize flag on a type parameter during the
unpickling process if it sees the specialize annotation on that type parameter.

After rebasing the commits against head, lets hope the stability test passes this time.
In the manual checkin it looks pretty stable to me:

https://scala-webapps.epfl.ch/jenkins/job/scala-checkin-manual/205/console

Review by @gkossakowski

This solution does not pickle the `specialize` flag on the symbol of the
specialized type parameter.
Instead, it recreates the `specialize` flag on a type parameter during the
 unpickling process if it sees the specialize annotation on that type parameter.
@scala-jenkins
Copy link

Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/488/

@scala-jenkins
Copy link

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/488/

@axel22
Copy link
Member Author

axel22 commented Jul 11, 2012

Ok. It's also possible that we could just check the specialize annotation on type parameters in SpecializeTypes, but I am not completely sure if this is enough everywhere, as type parameters sometimes get copied during specialization and lose the specialized annotation.

@axel22
Copy link
Member Author

axel22 commented Jul 12, 2012

This is now superseded by #890

@axel22 axel22 closed this Jul 12, 2012
lrytz pushed a commit to lrytz/scala that referenced this pull request Jul 13, 2023
Make xsbt.CompilerInterface class name configurable
Rewritten from sbt/zinc@951c722
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants