about summary refs log tree commit diff stats
path: root/057static_dispatch.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-08 23:36:37 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-08 23:48:52 -0800
commit0c0bc3aebb9f20113fc6b15180f94ed0073e96cc (patch)
treec54249a991ef2ed86903d567e6df86a7a410457d /057static_dispatch.cc
parentd379d683577e66ea927c212f579f7f45853623f3 (diff)
downloadmu-0c0bc3aebb9f20113fc6b15180f94ed0073e96cc.tar.gz
2406
One new issue: the traces for all tests are perturbed by the .mu files we
choose to load.
Diffstat (limited to '057static_dispatch.cc')
-rw-r--r--057static_dispatch.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/057static_dispatch.cc b/057static_dispatch.cc
index e294b16d..2047db7a 100644
--- a/057static_dispatch.cc
+++ b/057static_dispatch.cc
@@ -83,9 +83,8 @@ string next_unused_recipe_name(const string& recipe_name) {
   for (long long int i = 2; ; ++i) {
     ostringstream out;
     out << recipe_name << '_' << i;
-    if (Recipe_ordinal.find(out.str()) == Recipe_ordinal.end()) {
+    if (Recipe_ordinal.find(out.str()) == Recipe_ordinal.end())
       return out.str();
-    }
   }
 }
 
@@ -105,8 +104,7 @@ recipe test a:number, b:number -> z:number [
 +mem: storing 2 in location 7
 
 //: after insert_fragments (tangle) and before computing operation ids
-//: after filling in all missing types (because we'll be specializing generics
-//: here in a later layer)
+//: after filling in all missing types (because we'll be specializing generics here in a later layer)
 :(after "Transform.push_back(deduce_types_from_header)")
 Transform.push_back(resolve_ambiguous_calls);  // idempotent