Expected ':' not '.' calling member function

It does. That’s usually what happens when you pass a non-instance type as the self argument. Double check that you don’t have a typo.

4 Likes