title: Difference between List and Mutable List in Kotlin Generics
body: <p>I recently study about kotlin Generics, But i found some weird stituation</p>
  <p><a href="https://i.stack.imgur.com/0kCOI.png" rel="nofollow noreferrer">IDE image</a></p>
  <pre><code>interface MyItem
  
  fun &lt;ITEM : MyItem&gt; bindItem(items: List&lt;ITEM&gt;?) {
      val castedItem = items as List&lt;MyItem&gt;?
  }
  
  fun &lt;ITEM : MyItem&gt; bindItem2(items: MutableList&lt;ITEM&gt;?) {
      val castedItem = items as MutableList&lt;MyItem&gt;?
  }
  </code></pre>
  <p>Only In MutableList case compiler warn about unchecked Cast</p>
  <p>If anyone knows about this situation, Please tell me about this.</p>