Reports invalid usages of a class with __slots__ definitions.

Example:


class Foo:
    __slots__ = ['foo', 'bar']


foo = Foo()
foo.baz = 'spam'