Try to resolve expression as class object if resolution found an inappropriate result

This commit is contained in:
Alexander Udalov
2013-12-03 17:33:35 +04:00
parent b8a97bf192
commit dfd660a8e3
3 changed files with 16 additions and 3 deletions
@@ -0,0 +1,8 @@
enum class E {
entry
}
val Int.entry = 42
val Long.entry = 239
val e = E.entry