projects
/
gwion.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652e7bf
)
:bug: check_exp_call1 does not return not bool
author
fennecdjay
<astor.jeremie@wanadoo.fr>
Wed, 4 Sep 2019 19:36:37 +0000
(21:36 +0200)
committer
fennecdjay
<astor.jeremie@wanadoo.fr>
Wed, 4 Sep 2019 19:36:37 +0000
(21:36 +0200)
src/parse/check.c
patch
|
blob
|
history
diff --git
a/src/parse/check.c
b/src/parse/check.c
index a3b0d31fe485a852543e20357dfaa29bdc5a7c47..56585ad5d9775849f76d9605f5b532b7478cbfb9 100644
(file)
--- a/
src/parse/check.c
+++ b/
src/parse/check.c
@@
-784,7
+784,7
@@
ANN Type check_exp_call1(const Env env, const Exp_Call *exp) {
return func->def->base->ret_type;
}
function_alternative(env, exp->func->type, exp->args, exp_self(exp)->pos);
- return
GW_ERROR
;
+ return
NULL
;
}
ANN static Type check_exp_binary(const Env env, const Exp_Binary* bin) {