use correct nullability information when generating equality checks in pattern matching (KT-2148)

This commit is contained in:
Dmitry Jemerov
2012-06-02 17:59:19 +02:00
parent d46379acf2
commit f909745d1b
3 changed files with 38 additions and 10 deletions
@@ -154,4 +154,8 @@ public class PatternMatchingTest extends CodegenTestCase {
assertEquals("bit", foo.invoke(null, 1));
assertEquals("something", foo.invoke(null, 2));
}
public void testNullableWhen() throws Exception { // KT-2148
blackBoxFile("patternMatching/nullableWhen.kt");
}
}