Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pencelab/8a1f98b8665941e8d0aadca2ab9360f7 to your computer and use it in GitHub Desktop.
Save pencelab/8a1f98b8665941e8d0aadca2ab9360f7 to your computer and use it in GitHub Desktop.
sealed class MyElement<T> {
class MyToken<T>(val token: T): MyElement<T>()
class MyFinalToken<T>: MyElement<T>()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment