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

Import of swing._ leaks implicitConversions and reflectiveCalls into the namespace #6784

Closed
scabug opened this issue Dec 7, 2012 · 4 comments
Assignees
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Dec 7, 2012

import scala.swing._ gives you implicitConversions and reflectiveCalls whether you want them or not. Perhaps the library is unusable without reflectiveCalls--I'm not sure. But isn't implicitConversions at least a mistake? If you don't want conversions, it's annoying; and if you do, it's also annoying because you get a conflict between language.implicitConversions and swing.implicitConversions (if you have both).

@scabug
Copy link
Author

scabug commented Dec 7, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6784?orig=1
Reporter: @Ichoran
Affected Versions: 2.10.0-RC3

@scabug
Copy link
Author

scabug commented Dec 7, 2012

@retronym said:
It looks like it was meant as an implementation detail of the package, rather than part of the outward facing API.
scala/scala@f15dc74

@scabug
Copy link
Author

scabug commented Dec 8, 2012

@paulp said:
Oops. I assume they would cause problems even if they were private[swing], because of #3160. Which doesn't really explain why I didn't manage that much. It is with a heavy heart that I do this, but honor demands that I hand in my resignation as "fix all the warnings" guy.

@scabug
Copy link
Author

scabug commented Apr 28, 2013

@retronym said:
scala/scala#2465

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants