Test for KT-2619
Remove outdated check in WhenChecker # KT-2619 fixed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user