From 9cc389ce771636c1350c269ef042c47c427ecd28 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 26 Oct 2015 01:01:04 -0700 Subject: 2281 --- 030container.cc | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to '030container.cc') diff --git a/030container.cc b/030container.cc index 2f678687..629376b4 100644 --- a/030container.cc +++ b/030container.cc @@ -191,31 +191,6 @@ case GET: { break; } -:(code) -string dump_types(const reagent& x) { - ostringstream out; - dump_types(x.type, out); - return out.str(); -} - -void dump_types(type_tree* type, ostringstream& out) { - if (!type->left && !type->right) { - out << Type[type->value].name; - return; - } - out << "<"; - if (type->left) - dump_types(type->left, out); - else - out << Type[type->value].name; - out << " : "; - if (type->right) - dump_types(type->right, out); - else - out << " : <>"; - out << ">"; -} - :(scenario get_handles_nested_container_elements) recipe main [ 12:number <- copy 34 -- cgit 1.4.1-2-gfad0