1 2 3 4 5 6 7
object X { def bar = { def foo(x: Any) = "" val foo = foo(null) foo(null) // cycle in isApplicableBasedOnArity } }