about summary refs log tree commit diff stats
path: root/048check_type_by_name.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-06 17:29:52 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-06 17:29:52 -0800
commitb2e4056d6674515ed9ba3b56c40ec19c9b7eae3a (patch)
treee150b769e4a3df1b1a5336408cf8c4f3a573df0b /048check_type_by_name.cc
parent57d01f212c8cddb14f585b3ab32984d11a9222e3 (diff)
downloadmu-b2e4056d6674515ed9ba3b56c40ec19c9b7eae3a.tar.gz
2383 - new concern: idempotence of transforms
I'd not paid any attention to it so far, but I need to do so from now
on.
Diffstat (limited to '048check_type_by_name.cc')
-rw-r--r--048check_type_by_name.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/048check_type_by_name.cc b/048check_type_by_name.cc
index 7bed4b22..8a83c5f4 100644
--- a/048check_type_by_name.cc
+++ b/048check_type_by_name.cc
@@ -15,7 +15,7 @@ recipe main [
 +error: main: x used with multiple types
 
 :(before "Transform.push_back(transform_names)")
-Transform.push_back(check_types_by_name);
+Transform.push_back(check_types_by_name);  // idempotent
 
 :(code)
 void check_types_by_name(const recipe_ordinal r) {