Why not compile it? Scala 2.8.0RC3:
Java
public interface X { void logClick(long ts, int cId, String s, double c); }
Scala
class Y extends X { def logClick(ts: Long, cId: Int,sid: java.lang.String,c: Double) : Unit = { ... } }
Mistake
class Y needs to be abstract, since method logClick in trait X of type (ts: Long,cId: Int,s: java.lang.String,c: Double)Unit is not defined
scala
paintcan
source share