title: Why functions have priority over the Property-like callables in the same scope?
body: <p>I just noticed something interesting when testing a code and I would like more explanation.
  Why functions have the priority over lambdas when they are in the same scope ?</p>
  
  <p>For example :</p>
  
  <pre><code>fun sum(x: Int, y:Int) = x + y
  val sum = { x: Int, y: Int -&gt; x + y }
  // here, the compiler use the fonction (first line) and not the lambda
  println(sum(1, 2))
  </code></pre>
  
  <p>In this case, I use <code>invoke()</code> to call the lambda instead of the function.</p>