-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Remove Manifest and friends #6745
Conversation
you will mess up all of the benchmarks @retronym looks after by deleting the code to make scalac compiling faster 😆 |
Manifests are part of the language specification: https://www.scala-lang.org/files/archive/spec/2.12/07-implicits.html#manifests. I suggest that their removal goes through the SIP process. |
When were they deprecated? Last I knew (6 years ago) they were un-deprecated in #1455 (for 2.10.0). |
No objection from me.
Indeed. I guess I assumed they were, and in practice they pretty much are. |
They're pretty much in use, though, as well.. I don't think we can just drop them in 2.13.0-M5. |
4b13891
to
48c2b25
Compare
The problem with removing Manifests is that the replacement ( |
We also need to look at this in the context of Scala 3 - what's going to happen to scala.reflect? We should make that plan first before taking any actions. |
Closing, as this needs discussion / decission outside the PR queue. |
Can we define one place for such discussion? Otherwise it's likely to spread randomly. |
I really think the bigger underlying topic is scala.reflect vs Scala 3 - are there any past discussions on that topic? |
@odersky mentions in https://contributors.scala-lang.org/t/what-kinds-of-macros-should-scala-3-support/1850/14:
But I don't think creating a new thread in https://contributors.scala-lang.org/ that's specifically about |
I think it's pretty clear that scala.reflect if it exists in Scala 3 won't be recognizable since the current API exposes implementation details. |
Bootstrapped the thread: https://contributors.scala-lang.org/t/scala-reflect-and-scala-3/1967 |
It's been deprecated for 5 years, it's time to say good bye 👋 .
This PR cannot be merged until we have a STARR that contains #6742