Parameter "self" of method "foo"
Inferred type: A