Max Deineko
01/05/2021, 3:10 PMval l = mutableListOf("a")
l[0] = "b"
val x = l.first()
println("""$x=${l.first()}""")
⇒
val l: MutableList<String>
val x: String
a=b
When evaluated with "Use REPL" or via run command from the menu it prints "b=b" instead.
Am I missing something or is this a bug?
(If this is too intellij-specific and not getting-started-related enough, I'll be happy to move this to #intellij)Dmitry
01/05/2021, 3:19 PMMax Deineko
01/05/2021, 4:05 PM