Synthetic class object of enum should always be public

#KT-2834 Fixed
This commit is contained in:
Alexander Udalov
2013-11-14 20:33:57 +04:00
parent c63265bd69
commit e8089cc461
21 changed files with 60 additions and 57 deletions
@@ -0,0 +1,6 @@
private enum class MethodKind {
INSTANCE
STATIC
}
fun MethodKind.hasThis() = this == MethodKind.INSTANCE