about summary refs log tree commit diff stats
path: root/058generic_container.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-04 23:44:46 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-04 23:44:46 -0800
commit436b2b2eac33b893f7b9b0a7229ac1d98c034d2c (patch)
tree6619f453b5fd99b204380b17b94e9d8321e642f1 /058generic_container.cc
parent54275c64e2404612bf8754238bf71ae805f4022e (diff)
downloadmu-436b2b2eac33b893f7b9b0a7229ac1d98c034d2c.tar.gz
2360
More flailing around trying to come up with the right phase ordering.
I've tried to narrow down each transform's constraints wrt transforms in
previous layers.

One issue that keeps biting me is the Type map containing empty records
because of stray [] operations. That's gotta be important.
Diffstat (limited to '058generic_container.cc')
-rw-r--r--058generic_container.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/058generic_container.cc b/058generic_container.cc
index 4ab2a5cd..e757143b 100644
--- a/058generic_container.cc
+++ b/058generic_container.cc
@@ -34,6 +34,11 @@ assert(Next_type_ordinal < START_TYPE_INGREDIENTS);
 :(before "End type_info Fields")
 map<string, type_ordinal> type_ingredient_names;
 
+//: Suppress unknown type checks in generic containers.
+
+:(before "Check Container Field Types(info)")
+if (!info.type_ingredient_names.empty()) continue;
+
 :(before "End container Name Refinements")
 if (name.find(':') != string::npos) {
   trace(9999, "parse") << "container has type ingredients; parsing" << end();