blob: a0b5597d5c230b419dfb2b7c1bd6422824720134 (
plain) (
tree)
|
|
class Foo(val bar : () => String);
class IP extends Foo(() => baz) {
// TODO NEEDS MANUAL CHANGE (early initializers)
// BEGIN copied early initializers
val baz = "bar"
// END copied early initializers
};
object Test extends dotty.runtime.LegacyApp{
(new IP).bar();
}
|