Closed
Description
Compiler version
3.1.2-RC1
down to 3.0.0
Minimized code
def f(x: Int = 0): Int = 1
def f(x: Int*): Int = 2
println(f())
Output
Prints:
1
in Scala 32
in Scala 2
Expectation
Expected the behavior to remain the same as in Scala 2.
This may be intended, but it looks like a regression to me (that could potentially break things silently).