neversleepz
08/24/2017, 6:07 AMdata class A(val foo: String?)
data class B(val bar: String?) : A(foo)
error: function 'component1' generated for the data class conflicts with member of supertype 'A'
data class B(val bar: String?) : A(foo)
^
error: this type is final, so it cannot be inherited from
data class B(val bar: String?) : A(foo)
^
error: unresolved reference: foo