everyone, how to handle this scenario: class Pro...
# eap
b
everyone, how to handle this scenario: class Property<T> { fun someFun(t: T) {} } val propertyList = ArrayList<Property<*>>() propertyList.add(Property<String>()) property[0].someFun("hello") In java, there will be unchecked cast warning, but kotlin version 1.0.0-rc-1017​ report Error:(52, 63) Gradle: Type mismatch: inferred type is String but kotlin.Nothing was expected