Fix for EA-38626 - can't find class delegate for JetLightClass constructed for kotlin enum entry.

This commit is contained in:
Nikolay Krasko
2012-08-28 18:20:09 +04:00
parent 5d37c9581b
commit 22794cbf64
4 changed files with 97 additions and 4 deletions
@@ -0,0 +1,18 @@
enum class Direction {
NORTH
SOUTH(val x : Int) {
fun again() : String {
return "Hello"
}
class Hello
}
WEST {
class Some {
fun test() : Int {
return 12 + 14
}
}
}
EAST
}