Fixed test after introducing new warning.

This commit is contained in:
Evgeny Gerashchenko
2013-01-16 15:34:27 +04:00
parent 739acbcf01
commit 6574eca393
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ fun foo() : Int {
when (x) {
is <!INCOMPATIBLE_TYPES!>String<!> -> 1
!is Int -> 1
is Any? -> 1
is Any<!USELESS_NULLABLE_CHECK!>?<!> -> 1
<!INCOMPATIBLE_TYPES!>s<!> -> 1
1 -> 1
1 + <!UNRESOLVED_REFERENCE!>a<!> -> 1
+1 -1
View File
@@ -6,7 +6,7 @@ fun foo() : Int {
when (x) {
is <error>String</error> -> 1
!is Int -> 1
is Any? -> 1
is Any<warning>?</warning> -> 1
<error>s</error> -> 1
1 -> 1
1 + <error>a</error> -> 1