error if we try to generically expand a method which does not have an expression yet (see #2902)