Skip to content

Instantly share code, notes, and snippets.

@quelgar
Created January 20, 2014 06:11
Show Gist options
  • Save quelgar/8515708 to your computer and use it in GitHub Desktop.
Save quelgar/8515708 to your computer and use it in GitHub Desktop.
The unconstructable Scala class. If you can figure out how to successfully construct an instance of the class Outer, please let me know how.
final case class Outer(inner: Outer#Inner) {
final case class Inner(a: String)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment