From 6a46b08c3b720abdca849fffff3676fb183569a8 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Wed, 11 Jan 2017 16:45:53 +0100 Subject: [PATCH] eolian: improve implement error messages By retrieving by EOLIAN_UNDEFINED, we can provide more concrete error messages thanks to the logic later. --- src/lib/eolian/database_fill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eolian/database_fill.c b/src/lib/eolian/database_fill.c index e12f767..a841e26 100644 --- a/src/lib/eolian/database_fill.c +++ b/src/lib/eolian/database_fill.c @@ -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); -- 2.7.4