kotlin invalid type of annotation member array code example Example: a type annotation is required on a value parameter kotlin fun testMethod(inst: Base) { inst.method() }