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

Outlined Java interface cannot be extended #444

Open
wiwa opened this issue Jun 16, 2019 · 0 comments
Open

Outlined Java interface cannot be extended #444

wiwa opened this issue Jun 16, 2019 · 0 comments

Comments

@wiwa
Copy link
Contributor

wiwa commented Jun 16, 2019

I.java:

public interface I {}

J.scala:

object J extends I

rsc I.java and then scalac (2.12.8) J.scala:

J.scala:1: error: I does not have a constructor
object J extends I
                 ^
one error found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant