aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_conf_make_meta.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/ao_conf_make_meta.org')
-rw-r--r--org/ao_conf_make_meta.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/org/ao_conf_make_meta.org b/org/ao_conf_make_meta.org
index ae028f2..b6fcb92 100644
--- a/org/ao_conf_make_meta.org
+++ b/org/ao_conf_make_meta.org
@@ -404,7 +404,7 @@ body {
}
}
auto t = tuple(dochead_meta, dochead_make);
- static assert(!isTypeTuple!(t));
+ static assert(t.length==2);
return t;
}
#+END_SRC
@@ -605,7 +605,7 @@ private auto headerSDLangToAAmake(Tag header_sdlang, string[string][string] doch
dochead_make = sdlangToAAmake(dochead_make, header_sdlang);
auto dochead_meta = sdlangToAAmake(meta_aa, header_sdlang);
auto t = tuple(dochead_make, dochead_meta);
- static assert(!isTypeTuple!(t));
+ static assert(t.length==2);
return t;
}
#+END_SRC
@@ -651,6 +651,7 @@ template SiSUheaderExtractHub() {
? (head_native.headerNativeToAA(header_src))
: (head_sdlang.headerSDLangToAA(header_src, conf_doc_make_aa));
static assert(!isTypeTuple!(header_make_and_meta_tuple));
+ static assert(header_make_and_meta_tuple.length==2);
return header_make_and_meta_tuple;
}
}