lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] git commit: Don't write callbacks for included classes
Date Tue, 18 Mar 2014 16:48:20 GMT
Repository: lucy-clownfish
Updated Branches:
  refs/heads/master ecf4907c9 -> db82902a5


Don't write callbacks for included classes


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/db82902a
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/db82902a
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/db82902a

Branch: refs/heads/master
Commit: db82902a5668cc1055ffa6e48206fb00344c8465
Parents: ecf4907
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Tue Mar 18 17:47:13 2014 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Tue Mar 18 17:48:03 2014 +0100

----------------------------------------------------------------------
 compiler/src/CFCPerl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/db82902a/compiler/src/CFCPerl.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCPerl.c b/compiler/src/CFCPerl.c
index 2c873f5..3f51df2 100644
--- a/compiler/src/CFCPerl.c
+++ b/compiler/src/CFCPerl.c
@@ -564,7 +564,7 @@ S_write_callbacks_c(CFCPerl *self) {
 
     for (size_t i = 0; ordered[i] != NULL; i++) {
         CFCClass *klass = ordered[i];
-        if (CFCClass_inert(klass)) { continue; }
+        if (CFCClass_included(klass) || CFCClass_inert(klass)) { continue; }
 
         CFCMethod **fresh_methods = CFCClass_fresh_methods(klass);
         for (int meth_num = 0; fresh_methods[meth_num] != NULL; meth_num++) {


Mime
View raw message