title: Kotlin unresolved reference in IntelliJ
body: <p>I started off with <a href="http://kotlinlang.org/docs/tutorials/getting-started.html" rel="noreferrer">this tutorial</a> for learning Kotlin in IntelliJ IDEA.<br />
  When I tried running the following example,</p>
  <pre><code>fun main(args: Array&lt;String&gt;) {
      println(&quot;lol&quot;)
  }
  </code></pre>
  <p>Build fails with the following error:</p>
  <pre><code>Error:(5, 5) Kotlin: Unresolved reference: println
  </code></pre>
  <p>This is the first time I am using IntelliJ. I have never worked on a Java project either. Am I missing something?</p>
  <p><strong>Edit:</strong> I have already seen <a href="https://stackoverflow.com/questions/14410179/kotlin-command-line-compiler">this other question</a>, though it is not valid for my situation.</p>