What would cause my reified type to be lost? ``` i...
# announcements
d
What would cause my reified type to be lost?
Copy code
inline fun <reified T : Any> foo() {
  println(T::class.java) // prints expected raw type
  val token = object : TypeToken<T>() {}
  println(token) // prints only `T`
}
I just started a new project using GSON and I can't get a
TypeToken
as I have been able to in the past.