rsc icon indicating copy to clipboard operation
rsc copied to clipboard

Outlined Java interface cannot be extended

Open wiwa opened this issue 6 years ago • 0 comments

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

wiwa avatar Jun 16 '19 21:06 wiwa