disallow closure creation on abstract inline methods (closes #2767)