Skip to content

Instantly share code, notes, and snippets.

@yamashiro
Created July 17, 2012 11:02
Show Gist options
  • Save yamashiro/3128737 to your computer and use it in GitHub Desktop.
Save yamashiro/3128737 to your computer and use it in GitHub Desktop.
Scalaでコンパイル通らない
def hoge[H <: Hoge[Option[E], E], E <: String] : H = {
null.asInstanceOf[H]
}
class Hoge[T[E], E <: String]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment