Fix invalid NULL argument.

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

Branch: refs/heads/master
Commit: 4d54bf6fbd05281de79ecc3e700db417f4133e08
Parents: 3c71bc7
Author: Marvin Humphrey <[email protected]>
Authored: Wed May 20 17:01:15 2015 -0700
Committer: Marvin Humphrey <[email protected]>
Committed: Wed May 27 15:40:38 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4d54bf6f/compiler/src/CFCGoMethod.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCGoMethod.c b/compiler/src/CFCGoMethod.c
index 02d3779..a6d0496 100644
--- a/compiler/src/CFCGoMethod.c
+++ b/compiler/src/CFCGoMethod.c
@@ -194,7 +194,7 @@ CFCGoMethod_func_def(CFCGoMethod *self, CFCClass *invoker) {
         cfunc = CFCUtil_strdup(CFCMethod_imp_func(self->method, invoker));
     }
     else {
-        cfunc = CFCMethod_full_method_sym(novel_method, NULL);
+        cfunc = CFCMethod_full_method_sym(novel_method, invoker);
     }
 
     char *cfargs = S_prep_cfargs(invoker, param_list);

Reply via email to