e>
<p>After the quick-fix is applied:</p>
<pre><code>
  fun test(list: List&lt;Int&gt;): List&lt;Int&gt; {
      return list.ifEmpty {
          println()
          foo()
      }
  }
</code></pre>
<!-- tooltip end -->
<p>This inspection only reports if the Kotlin language version of the project or module is 1.3 or higher.</p>
</body>
</html>