scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
232 stars 21 forks source link

splicing might violate type bounds #6242

Open scabug opened 12 years ago

scabug commented 12 years ago
def foo[T <: String: TypeTag] = typeOf[T]
def bar[T: TypeTag] = foo[T]
bar[Int]
scabug commented 12 years ago

Imported From: https://issues.scala-lang.org/browse/SI-6242?orig=1 Reporter: @xeno-by