Closed
Description
This line compiles in 2.12 but not in 2.13:
var map = Map.empty[Int, Int].withDefaultValue(0)
map = map + (1 -> 1)
2.12
def withDefault[V1 >: V](d: (K) ⇒ V1): Map[K, V1]
2.13
def withDefault[V1 >: V](d: (K) ⇒ V1): WithDefault[K, V1]