Skip to content

Instantly share code, notes, and snippets.

@MarcinMoskala
Created September 16, 2019 11:21
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 MarcinMoskala/266ccaa7327f3c86338b19dfae5a6293 to your computer and use it in GitHub Desktop.
Save MarcinMoskala/266ccaa7327f3c86338b19dfae5a6293 to your computer and use it in GitHub Desktop.
// Constructor:
val f: ()->Tree = ::Tree
// Fake constructor:
val f: ()->Tree = ::Tree
// Invoke in companion object:
val f: ()->Tree = Tree.Companion::invoke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment