pike.git
/
src
/
pike_types.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/pike_types.cmod:5708:
if (remap_flags & PT_FLAG_REMAP_TRACE) { fprintf(stderr, "tmp: "); simple_describe_type(tmp); fprintf(stderr, "\n"); } push_finished_type(tmp); free_type(tmp);
-
if (avoidable &
&
bvoidable) {
+
if (avoidable &
bvoidable
&
PT_FLAG_CMP_VOIDABLE
) {
/* Time to check the return types. */ if (!aret) aret = ai->cdr; if (!bret) bret = bi->cdr; tmp = low_type_binop(op, aret, bret, remap, PT_FLAG_CMP_VOID_IS_ZERO, PT_FLAG_CMP_VOID_IS_ZERO, remap_flags);
pike.git/src/pike_types.cmod:5856:
if (aret) { Pike_fatal("Unsupported type operation.\n"); } } if ((bi->type != T_FUNCTION) && (bi->type != T_MANY)) { if (bret) { Pike_fatal("Unsupported type operation.\n"); } }
-
if (avoidable &
&
bvoidable) {
+
if (avoidable &
bvoidable
&
PT_FLAG_CMP_VOIDABLE
) {
/* Both a & b are T_MANY. Check the return type. */ if (!aret) aret = ai->cdr; if (!bret) bret = bi->cdr; /* NB: Ignore the return type if matching against void. */ if (bret != void_type_string) { tmp = low_type_binop(PT_BINOP_MINUS, aret, bret, remap, PT_FLAG_CMP_VOIDABLE, 0, remap_flags); if (tmp) {