caseobjectTextextendsContentType(value =1L, name ="text") caseobjectImageextendsContentType(value =2L, name ="image") caseobjectVideoextendsContentType(value =3L, name ="video") caseobjectAudioextendsContentType(value =4L, name ="audio")
/* case object Sticker extends ContentType(value = 4L, name = "sticker") * => Fails at compile time because 4L is already used with the following error: * * It does not look like you have unique values. Found the following values correspond to more than one members: Map(4 -> List(object Audio, object Sticker)) */
As always, if you have any problems, questions, suggestions, or better yet, PRs, please do not hesitate to get in touch on Github.
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.