pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2022-01-23
2022-01-23 13:58:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>
7e67624760beefc15e8f0aa9131538d6a69822f0 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Stricter check of array contents in soft casts.
5974:
tmp = low_type_binop(op, a->car, b->car, remap, 0, 0, remap_flags); if (!tmp && (op == PT_BINOP_AND) && a->car && b->car) return NULL;
-
if (a->type == T_STRING) {
+
if (
(
a->type == T_STRING)
|| (op == PT_BINOP_AND))
{
tmp2 = low_type_binop(op, a->cdr, b->cdr, remap, 0, 0, remap_flags); } else {