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

All Java interfaces should receive an Any parent #7765

Open
scabug opened this issue Aug 19, 2013 · 3 comments
Open

All Java interfaces should receive an Any parent #7765

scabug opened this issue Aug 19, 2013 · 3 comments

Comments

@scabug
Copy link

scabug commented Aug 19, 2013

...and a necessary step to be taken in combination with this is that 'eq' be defined on Any. All the details of why this should be done, including an almost unprecedented level of agreement, can be found in this thread: https://groups.google.com/d/msg/scala-internals/jsVlJI4H5OQ/BwdZT5hpKtsJ

@scabug
Copy link
Author

scabug commented Aug 19, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7765?orig=1
Reporter: @paulp

@scabug
Copy link
Author

scabug commented Aug 20, 2013

@soc said:
Agree, but we need to keep in mind that interfaces can have implementations since Java 8.

@scabug
Copy link
Author

scabug commented Aug 20, 2013

@paulp said:
Fortunately that's irrelevant, since they still cannot have state.

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

No branches or pull requests

3 participants