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

Reflective calls aren't cross compatible with scala 2 #9459

Closed
martijnhoekstra opened this issue Jul 29, 2020 · 1 comment
Closed

Reflective calls aren't cross compatible with scala 2 #9459

martijnhoekstra opened this issue Jul 29, 2020 · 1 comment

Comments

@martijnhoekstra
Copy link
Contributor

Reflective calls need language import import scala.reflect.Selectable.reflectiveSelectable in dotty. But that's not cross-compatible with scala 2 without a shim. At https://contributors.scala-lang.org/t/scala-3-migration-guide/4237/7 @smarter suggested making import scala.language.reflectiveCalls make scala 3 behave the same as scala 2.

@sjrd
Copy link
Member

sjrd commented Jul 29, 2020

This was already implemented in #9420.

@sjrd sjrd closed this as completed Jul 29, 2020
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

No branches or pull requests

2 participants