You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* test model
* @param field some field des
*/
case class ScalaModel(field: String)
produced alongside the ScalaModel also a ScalaModel$:
public class ScalaModel$ extends scala.runtime.AbstractFunction1<java.lang.String, <empty>.ScalaModel> implements scala.Serializable {
/**
* Static reference to the singleton instance of this Scala object.
*/
public static final ScalaModel$ MODULE$ = null;
public ScalaModel$ () { throw new RuntimeException(); }
}
Here the 'empty' package makes it into the generic type, which is of course invalid.