Revert back 2nd stage of split semantics change and restore deprecated String.split(String).

This commit is contained in:
Ilya Gorbunov
2015-05-21 05:00:48 +03:00
parent b1f1360081
commit 6516c74a1a
4 changed files with 21 additions and 11 deletions
+8
View File
@@ -26,6 +26,14 @@ deprecated("Use split(Regex) instead.")
library("splitString")
public fun String.splitWithRegex(regex: String, limit: Int): Array<String> = noImpl
deprecated("Use split(Regex) instead.")
library("splitString")
public fun String.split(regex: String): Array<String> = noImpl
deprecated("Use split(Regex) instead.")
library("splitString")
public fun String.split(regex: String, limit: Int): Array<String> = noImpl
native public fun String.substring(beginIndex : Int) : String = noImpl
native public fun String.substring(beginIndex : Int, endIndex : Int) : String = noImpl