Compiler version
ce57b71
Minimized code
trait Foo {
def identity[A](a: A): a.type = a
}
Output
//> javap Foo
Compiled from "test.scala"
public interface Foo {
public static java.lang.Object identity$(Foo, java.lang.Object);
public default <A> java.lang.Object identity(A);
}
Expectation
The signature of identity can be improved as with Scala 2.
//> javap Foo
Compiled from "test.scala"
public interface Foo {
public static java.lang.Object identity$(Foo, java.lang.Object);
public default <A> A identity(A);
public static void $init$(Foo);
}
``