pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2021-11-07
2021-11-07 12:33:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>
1b8e1ee3967d54b6dbcc0b498790d8ffb3ed8099 (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Markers now default to __unknown__.
7578:
struct pike_type *t = a->car; if ((t->type >= '0') && (t->type <= '9')) { t = a_markers[t->type - '0'];
-
if (!t) t = zero_type_string;
+
/*
if (!t) t = zero_type_string;
*/
} t = apply_type_operator(a->type, t, a->cdr); ret = low_match_types(t, b, flags);
7708:
struct pike_type *t = b->car; if ((t->type >= '0') && (t->type <= '9')) { t = b_markers[t->type - '0'];
-
if (!t) t = zero_type_string;
+
/*
if (!t) t = zero_type_string;
*/
} t = apply_type_operator(b->type, t, b->cdr); ret = low_match_types(a, t, flags);
8309:
struct pike_type *t = b->car; if ((t->type >= '0') && (t->type <= '9')) { t = ((flags & LE_A_B_SWAPPED)?a_markers:b_markers)[t->type - '0'];
-
if (!t) t = zero_type_string;
+
/*
if (!t) t = zero_type_string;
*/
} t = apply_type_operator(b->type, t, b->cdr); ret = low_pike_types_le(a, t, array_cnt, flags);
8545:
struct pike_type *t = a->car; if ((t->type >= '0') && (t->type <= '9')) { t = ((flags & LE_A_B_SWAPPED)?b_markers:a_markers)[t->type - '0'];
-
if (!t) t = zero_type_string;
+
/*
if (!t) t = zero_type_string;
*/
} t = apply_type_operator(a->type, t, a->cdr); ret = low_pike_types_le(t, b, array_cnt, flags);