Do not refer to Cloneable in documentation
There's no source for Cloneable and it can't be resolved yet.
This commit is contained in:
@@ -39,7 +39,7 @@ public abstract class Enum<E : Enum<E>>(name: String, ordinal: Int): Comparable<
|
||||
|
||||
/**
|
||||
* Throws an exception since enum constants cannot be cloned.
|
||||
* This method prevents enum classes from inheriting from [Cloneable].
|
||||
* This method prevents enum classes from inheriting from `Cloneable`.
|
||||
*/
|
||||
protected final fun clone(): Any
|
||||
|
||||
|
||||
Reference in New Issue
Block a user