Open
Description
One of the probably many paterns to rewrite (see scala/scala#6475 for more details):
class C(in: () => Int)
def f(): Int = 1
new C(f) // does not compile anymore in 2.13.0-M4
-new C(f)
+new C(() => f)
One of the probably many paterns to rewrite (see scala/scala#6475 for more details):
class C(in: () => Int)
def f(): Int = 1
new C(f) // does not compile anymore in 2.13.0-M4
-new C(f)
+new C(() => f)