pike.git/
src/
pike_types.c
Branch:
Tag:
Non-build tags
All tags
No tags
2011-12-09
2011-12-09 20:46:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>
301daff404d7ac8b3209cc85f9bf00ee51a67c3a (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Type-checker: Send the proper flags to get_first_arg_type().
7070:
!(flags & CALL_ARG_LVALUE)){ if (!(tmp = low_new_check_call(fun_type, args->type, flags|CALL_STRICT, sval))) {
-
tmp = get_first_arg_type(fun_type,
0
);
+
tmp = get_first_arg_type(fun_type,
flags
);
yytype_report(REPORT_WARNING, NULL, 0, tmp, NULL, 0, args->type, 0, "Type mismatch in argument %d to %S.",