https://kotlinlang.org logo
#announcements
Title
# announcements
i

igordonxiao

02/10/2017, 2:57 AM
Hi, i met a problem,
Copy code
Error:(119, 23) Kotlin: Type inference failed: Not enough information to infer parameter T in fun <T : Any!> deleteEntityById(entityName: Class<(raw) Any!>!, id: Serializable!): Unit
Please specify it explicitly.
, below is
deleteEntityById
defination
Copy code
<T> void deleteEntityById(Class entityName, Serializable id);