From ffc9e66b3505990009e47b461eb03d3eb1635258 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 5 Nov 2017 02:00:26 -0800 Subject: 4109 --- html/010vm.cc.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'html/010vm.cc.html') diff --git a/html/010vm.cc.html b/html/010vm.cc.html index 0f2aa4a5..c37b89f9 100644 --- a/html/010vm.cc.html +++ b/html/010vm.cc.html @@ -198,8 +198,8 @@ if ('onhashchange' in window) { 134 type_ordinal number = put(Type_ordinal, "number", Next_type_ordinal++); 135 get_or_insert(Type, number).name = "number"; 136 put(Type_ordinal, "location", number); // synonym of number to indicate we only care about its size -137 type_ordinal address = put(Type_ordinal, "address", Next_type_ordinal++); -138 get_or_insert(Type, address).name = "address"; +137 type_ordinal address = put(Type_ordinal, "address", Next_type_ordinal++); +138 get_or_insert(Type, address).name = "address"; 139 type_ordinal boolean = put(Type_ordinal, "boolean", Next_type_ordinal++); 140 get_or_insert(Type, boolean).name = "boolean"; 141 type_ordinal character = put(Type_ordinal, "character", Next_type_ordinal++); @@ -498,32 +498,32 @@ if ('onhashchange' in window) { 434 CHECK(!(*b.type < *a.type)); 435 } 436 void test_compare_atom_with_non_atom() { -437 reagent a("a:address:number"), b("b:boolean"); +437 reagent a("a:address:number"), b("b:boolean"); 438 CHECK(!(*a.type < *b.type)); 439 CHECK(*b.type < *a.type); 440 } 441 void test_compare_lists_with_identical_structure() { -442 reagent a("a:address:address"), b("b:address:boolean"); +442 reagent a("a:address:address"), b("b:address:boolean"); 443 CHECK(*a.type < *b.type); 444 CHECK(!(*b.type < *a.type)); 445 } 446 void test_compare_identical_lists() { -447 reagent a("a:address:boolean"), b("b:address:boolean"); +447 reagent a("a:address:boolean"), b("b:address:boolean"); 448 CHECK(!(*a.type < *b.type)); 449 CHECK(!(*b.type < *a.type)); 450 } 451 void test_compare_list_with_extra_element() { -452 reagent a("a:address:address"), b("b:address:address:number"); +452 reagent a("a:address:address"), b("b:address:address:number"); 453 CHECK(*a.type < *b.type); 454 CHECK(!(*b.type < *a.type)); 455 } 456 void test_compare_list_with_smaller_left_but_larger_right() { -457 reagent a("a:address:number"), b("b:character:array"); +457 reagent a("a:address:number"), b("b:character:array"); 458 CHECK(*a.type < *b.type); 459 CHECK(!(*b.type < *a.type)); 460 } 461 void test_compare_list_with_smaller_left_but_larger_right_identical_types() { -462 reagent a("a:address:boolean"), b("b:boolean:address"); +462 reagent a("a:address:boolean"), b("b:boolean:address"); 463 CHECK(*a.type < *b.type); 464 CHECK(!(*b.type < *a.type)); 465 } -- cgit 1.4.1-2-gfad0