pike.git/
src/
las.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2022-06-19
2022-06-19 08:38:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>
dd165cb34e849fc50b7ce608c4f8c81fc37d015f (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Update missed call of check_splice_call().
1780:
} else { /* Attempt to get the return type for the function. */ struct pike_type *a, *b;
+
struct call_state cs;
a = get_type_of_svalue(Pike_sp-1); /* Note: check_splice_call() below eats a reference from a. * Note: CALL_INHIBIT_WARNINGS is needed since we don't * provide a function name (and we don't want * warnings here anyway). */
-
a = check_splice_call(NULL, a,
0
, mixed_type_string, NULL,
+
INIT_CALL_STATE(cs);
+
a = check_splice_call(NULL, a,
&cs
, mixed_type_string, NULL,
CALL_INHIBIT_WARNINGS);
-
+
FREE_CALL_STATE(cs);
if (a) { b = new_get_return_type(a, 0); free_type(a);