title: build.gradle file, task using << notation, intellij warns: "Cannot infer argument type"
body: <p>I'm new to groovy and gradle and was wondering whether someone knew why my scriplet wasn't working (edit actually it does work but the warning still appears). This section is taken out of the build.gradle script and intellij highlights this and complains that it: "Cannot infer argument types". any help would be nice :)</p>
  
  <pre><code>task hellofun &lt;&lt; {
      [silly:'billy'].each { k, v -&gt;
          println "$k=$v"
      }
  }
  </code></pre>
  
  <p><strong>EDIT:</strong> I  have submitted a <a href="http://intellij-support.jetbrains.com/requests/16896">bug request</a> informing Intellij of this problem</p>
  
  <p><strong>EDIT:</strong> apparently this is a <a href="http://youtrack.jetbrains.com/issue/IDEA-116430">known bug</a> I'll update this once the bug is fixed</p>