Fix resolve of Kotlin enum entries from Java

#KT-5719 Fixed
This commit is contained in:
Alexander Udalov
2014-09-10 18:58:07 +04:00
parent 70561cc539
commit fec64b31dc
7 changed files with 143 additions and 51 deletions
@@ -0,0 +1,16 @@
package test;
class EnumEntriesInSwitch {
void foo() {
ZZZ a = ZZZ.A1;
switch (a) {
case A1: break;
case B1: break;
}
switch (ZZZ.B1) {
case A1: break;
case B1: break;
}
}
}