pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2020-09-10
2020-09-10 13:49:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>
cb6aef5200fa62614c4c743a7fdb87ff6430b0f5 (
8
lines) (+
6
/-
2
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Fixed issue with soft casting of complex functions.
6856:
push_finished_type(tmp2); free_type(tmp2); tmp2 = NULL;
+
+
while(array_cnt--) push_unlimited_array_type(T_ARRAY);
+
push_reverse_type(T_MANY);
} else { /* Some kind of complex function type. */ /* FIXME: Handle the case where tmp != NULL */ push_finished_type(orig_type); push_finished_type(soft_type); push_type(T_AND);
-
}
+
while(array_cnt--) push_unlimited_array_type(T_ARRAY);
-
push_reverse_type(T_MANY);
+
}
while(loop_cnt--) push_reverse_type(T_FUNCTION); res = pop_unfinished_type(); break;