fix #290 more precise error message when member resolution fails
using ugly implementation that avoid breaking backends