In the example below, the type of method is not properly found in the class passed by parameter as superclass to the mixin function: