expression preceding parentheses of apparent call must have (pointer-to-) function type

For anyone else this might also be because of redefinition of a method or property name. i.e a property and method might have the same name

Leave a Comment