about summary refs log tree commit diff stats
path: root/cpp/013run
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-17 10:12:23 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-17 10:12:23 -0700
commit5f0e4762468c412d57fb54236a0ee90e23a2cb14 (patch)
treecb9d16c8ed78f9b6ead9efc65437f0fddcbebd73 /cpp/013run
parentcf1eb60b592c5e924c0f31851d01da79acc25533 (diff)
downloadmu-5f0e4762468c412d57fb54236a0ee90e23a2cb14.tar.gz
948
Diffstat (limited to 'cpp/013run')
-rw-r--r--cpp/013run4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/013run b/cpp/013run
index cd0a08a6..1fc6ded8 100644
--- a/cpp/013run
+++ b/cpp/013run
@@ -139,8 +139,8 @@ void write_memory(reagent x, vector<int> data) {
 :(code)
 size_t size_of(reagent r) {
   type_info t = Type[r.types[0]];
-  if (!t.is_record && !t.is_array) return t.size;
-  return t.size;  // TODO
+  // End size_of Cases.
+  return t.size;
 }
 
 :(scenario run_label)