From 1fb0cf9ef9e616163039fd4df6584c6c2ba68d23 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 12 May 2018 19:55:21 -0700 Subject: 4243 --- html/032array.cc.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'html/032array.cc.html') diff --git a/html/032array.cc.html b/html/032array.cc.html index 0324ca15..528fe5b6 100644 --- a/html/032array.cc.html +++ b/html/032array.cc.html @@ -167,7 +167,7 @@ if ('onhashchange' in window) { 103 return types_strictly_match(array_element(from.type), array_element(to.type)); 104 105 :(before "End size_of(reagent r) Special-cases") -106 if (!r.type->atom && r.type->left->atom && r.type->left->value == get(Type_ordinal, "array")) { +106 if (!r.type->atom && r.type->left->atom && r.type->left->value == Array_type_ordinal) { 107 if (!r.type->right) { 108 raise << maybe(current_recipe_name()) << "'" << r.original_string << "' is an array of what?\n" << end(); 109 return 1; @@ -176,7 +176,7 @@ if ('onhashchange' in window) { 112 } 113 114 :(before "End size_of(type) Non-atom Special-cases") -115 if (type->left->value == get(Type_ordinal, "array")) return static_array_length(type); +115 if (type->left->value == Array_type_ordinal) return static_array_length(type); 116 :(code) 117 int static_array_length(const type_tree* type) { 118 if (!type->atom && type->right && !type->right->atom && type->right->right && !type->right->right->atom && !type->right->right->right // exactly 3 types @@ -191,7 +191,7 @@ if ('onhashchange' in window) { 127 //: disable the size mismatch check for arrays since the destination array 128 //: need not be initialized 129 :(before "End size_mismatch(x) Special-cases") -130 if (x.type && !x.type->atom && x.type->left->value == get(Type_ordinal, "array")) return false; +130 if (x.type && !x.type->atom && x.type->left->value == Array_type_ordinal) return false; 131 132 //:: arrays inside containers 133 //: arrays are disallowed inside containers unless their length is fixed in -- cgit 1.4.1-2-gfad0