title: How to resolve overload ambiguity in method references?
body: <p>Say I want to assign the java method <a href="http://developer.android.com/reference/android/util/Log.html#d%28java.lang.String,%20java.lang.String%29" rel="noreferrer"><code>Log.d(String, String)</code></a> to a variable <code>x</code> of method type <code>(String, String) -&gt; Int</code> and I do it like this:</p>
  
  <pre><code>val x: (String, String) -&gt; Int = android.util.Log::d
  </code></pre>
  
  <p>The compiler says:</p>
  
  <pre><code>Error:(50, 56) Overload resolution ambiguity:
  public open fun d(tag: kotlin.String!, msg: kotlin.String!): kotlin.Int defined in android.util.Log
  public open fun d(tag: kotlin.String!, msg: kotlin.String!, tr: kotlin.Throwable!): kotlin.Int defined in android.util.Log
  </code></pre>
  
  <p>Obviously there is a second method <code>Log.d(String, String, Throwable)</code> but how do I tell the compiler which one I want?</p>