better errors when x.m cannot be resolved
prepare overloaded native functions: import, export, parsing
do not check the sanity of native functions that have overloads
resolution of overloaded functions