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

can't import from Any #7302

Closed
scabug opened this issue Mar 26, 2013 · 5 comments
Closed

can't import from Any #7302

scabug opened this issue Mar 26, 2013 · 5 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Mar 26, 2013

See #7233 and please fix the test case once this is fixed. Should we really disallow this?

@scabug
Copy link
Author

scabug commented Mar 26, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7302?orig=1
Reporter: @adriaanm
Affected Versions: 2.11.0-M2

@scabug
Copy link
Author

scabug commented Mar 26, 2013

@paulp said:
You can't import from Any by definition. What are you importing into? Whatever it is, that thing defines the same methods Any does, so the imports are ignored.

(I'm not sure what the context of this is though.)

@scabug
Copy link
Author

scabug commented Mar 26, 2013

@paulp said:
Though it occurs to me at this late hour, renaming.

@scabug
Copy link
Author

scabug commented Mar 26, 2013

@paulp said:
In my defense, it looks like it was crash city before that change, so it's not like I upset the world's best-maintained apple cart.

@scabug
Copy link
Author

scabug commented Apr 3, 2013

@paulp said:
2b4cd6c110

@scabug scabug closed this as completed Apr 3, 2013
@scabug scabug added this to the 2.11.0-M3 milestone Apr 7, 2017
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