Export all _IMP symbols. It is not sufficient to export only _IMP symbols for final methods, because it's possible that a subclass final method be an alias for it.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/cb6f14ba Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/cb6f14ba Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/cb6f14ba Branch: refs/heads/master Commit: cb6f14bacbbb1057ebba074b899e1d7994c28297 Parents: 5bcadfd Author: Marvin Humphrey <[email protected]> Authored: Fri May 8 19:24:56 2015 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Mon May 11 17:30:40 2015 -0700 ---------------------------------------------------------------------- compiler/src/CFCBindClass.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/cb6f14ba/compiler/src/CFCBindClass.c ---------------------------------------------------------------------- diff --git a/compiler/src/CFCBindClass.c b/compiler/src/CFCBindClass.c index 3aa62db..a30ea18 100644 --- a/compiler/src/CFCBindClass.c +++ b/compiler/src/CFCBindClass.c @@ -615,10 +615,8 @@ S_sub_declarations(CFCBindClass *self) { for (int i = 0; fresh_methods[i] != NULL; i++) { CFCMethod *method = fresh_methods[i]; char *dec = CFCBindMeth_imp_declaration(method, self->client); - if (CFCMethod_final(method)) { - declarations = CFCUtil_cat(declarations, PREFIX, "VISIBLE ", NULL); - } - declarations = CFCUtil_cat(declarations, dec, "\n\n", NULL); + declarations = CFCUtil_cat(declarations, PREFIX, "VISIBLE ", dec, + "\n\n", NULL); FREEMEM(dec); } return declarations;
