Deprecate String.toCharList to use toList instead.

This commit is contained in:
Ilya Gorbunov
2015-11-21 08:26:25 +03:00
parent a53ad098d6
commit 542ab6ae34
2 changed files with 2 additions and 1 deletions
@@ -395,6 +395,7 @@ public fun String.toDouble(): Double = java.lang.Double.parseDouble(this)
/**
* Returns the list of all characters in this string.
*/
@Deprecated("Use toList() instead.", ReplaceWith("toList()"))
public fun String.toCharList(): List<Char> = toCharArray().toList()
/**