Test for KT-2619

Remove outdated check in WhenChecker

# KT-2619 fixed
This commit is contained in:
Pavel V. Talanov
2012-11-23 16:10:12 +04:00
parent 997e26d11e
commit 59e74e79c2
3 changed files with 21 additions and 6 deletions
@@ -0,0 +1,15 @@
//FILE: foo.kt
fun main(args: Array<String>) {
val c: Type
<!NO_ELSE_IN_WHEN!>when<!> (<!UNINITIALIZED_VARIABLE!>c<!>) {
}
}
//FILE: Type.java
public enum Type {
TYPE,
NO_TYPE;
}