eolian: improve implement error messages

By retrieving by EOLIAN_UNDEFINED, we can provide more concrete error messages
thanks to the logic later.
This commit is contained in:
Daniel Kolesa 2017-01-11 16:45:53 +01:00
parent 85fbc333dd
commit 6a46b08c3b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ _get_impl_func(Eolian_Class *cl, Eolian_Implement *impl,
impl->klass = tcl;
const Eolian_Function *fid = eolian_class_function_get_by_name(tcl, fnname, ftype);
const Eolian_Function *fid = eolian_class_function_get_by_name(tcl, fnname, EOLIAN_UNRESOLVED);
if (!fid)
{
_print_linecol(&impl->base);