pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2020-01-21
2020-01-21 10:43:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ff76fd678d9f983a8d7a86f746ca319000d37d0d (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Added special case for empty strings and arrays.
758:
get_name_of_type(t), t); } #endif
+
if (peek_type_stack()->type == PIKE_T_ZERO) {
+
push_type(PIKE_T_ZERO);
+
} else {
push_int_type(0, MAX_INT32);
-
+
}
push_type(t); }