Prohibit clone() for enum classes

#KT-8972 Fixed
This commit is contained in:
Alexander Udalov
2015-08-28 09:30:17 +03:00
parent 89f3cfc704
commit 29abf94327
6 changed files with 53 additions and 0 deletions
@@ -1,5 +1,6 @@
-InheritedMembersOfEnum.kt
-Test
clone(): Any location=→Enum
compareTo(E): Int location=→Enum
equals(Any?): Boolean location=→Enum
FIRST