Generate private constructors for Enums

#KT-2680 Fixed
  #KT-16867 Fixed
This commit is contained in:
Mikhael Bogdanov
2018-09-12 15:51:46 +02:00
parent 941e5ae1b2
commit 81435c98fa
5 changed files with 16 additions and 12 deletions

View File

@@ -9,5 +9,5 @@ public enum E {
@kotlin.Deprecated(message = "b")
Entry3;
protected E() { /* compiled code */ }
private E() { /* compiled code */ }
}