Closed
Description
I was calling the new-less object secondary constructor but it would not work without using new.
Boiled down example from my code:
class Foo(p1: String, p2: String):
def this(p1: String) = this(p1, "blah")
val x = Foo("blah", "hah")
val y = Foo("blah")
I needed to add new Foo("blah")
to get y
to compile.