Transform Enum.values to property

This commit is contained in:
Denis Zharkov
2015-10-16 14:20:19 +03:00
parent d985f56b8d
commit d8ede6d03e
17 changed files with 140 additions and 29 deletions
@@ -4,7 +4,7 @@ enum class E {
private companion object
}
fun foo() = E.values()
fun foo() = E.values
fun bar() = E.valueOf("ENTRY")
fun baz() = E.ENTRY
fun <!EXPOSED_FUNCTION_RETURN_TYPE!>quux<!>() = <!INVISIBLE_MEMBER!>E<!>