Rename CharSequence.get to charAt
This is done for JVM interoperability. There's still a member function String.get() and an extension function "get" on CharSequence #KT-1730 Fixed #KT-5389 Fixed
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun box(): String {
|
||||
val sb = StringBuilder("OK")
|
||||
return "${sb.get(0)}${sb[1]}"
|
||||
}
|
||||
Reference in New Issue
Block a user