[idl] give clearer warning about missing methods [thanks @elen4, @vtikha]