Skip to content

Instantly share code, notes, and snippets.

@yipjustin
Last active August 29, 2015 14:02
Show Gist options
  • Save yipjustin/176c412018897d899248 to your computer and use it in GitHub Desktop.
Save yipjustin/176c412018897d899248 to your computer and use it in GitHub Desktop.
Scala Manifest
def f() {
class T[X : Manifest]
classOf[T[Double]].newInstance
}
def g() {
class S[X]
classOf[S[Double]].newInstance
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment