rename error

This commit is contained in:
Svetlana Isakova
2012-09-07 18:23:11 +04:00
parent 1dfe212844
commit cd5521d6dc
15 changed files with 29 additions and 29 deletions
@@ -3,7 +3,7 @@ package kt1778
fun main(args : Array<String>) {
val x = args[0]: Any
if(x is <!CLASS_HAS_KOTLIN_ANALOG!>java.lang.CharSequence<!>) {
if(x is <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>java.lang.CharSequence<!>) {
if ("a" == x) x.length() else x.length() // OK
if ("a" == x || "b" == x) x.length() else x.length() // < THEN ERROR
if ("a" == x && "a" == x) x.length() else x.length() // < ELSE ERROR