removed some string methods from library.jet

This commit is contained in:
svtk
2012-01-20 19:31:04 +04:00
parent f541cce098
commit b3eb44e769
8 changed files with 39 additions and 35 deletions
@@ -8,4 +8,6 @@ fun test(s: String?) {
val e: String = <!TYPE_MISMATCH!>s?.length<!> ?: "empty"
val <!UNUSED_VARIABLE!>f<!>: Int = s?.length ?: b ?: 1
val <!UNUSED_VARIABLE!>g<!>: Int? = e? startsWith("s")?.length
}
}
fun String.startsWith(<!UNUSED_PARAMETER!>s<!>: String): Boolean = true