From e9e17be24eba558c30fcdc41ea5bb9a1da7fd4e7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 12 Mar 2024 22:39:09 -0400 Subject: mark modules as @safe: (& identify what is not) --- org/ocda.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'org/ocda.org') diff --git a/org/ocda.org b/org/ocda.org index 3a671ca..74c1f64 100644 --- a/org/ocda.org +++ b/org/ocda.org @@ -30,6 +30,7 @@ Process markup document, create document abstraction. // abstraction of sisu markup for downstream processing // metadoc_from_src.d module doc_reform.meta.metadoc_from_src; +@safe: template docAbstraction() { <> @system auto docAbstraction(CMM,Opt,Mf) ( @@ -1528,7 +1529,7 @@ struct DocHas_ { return tag_assoc; } } -@safe auto doc_has() { +auto doc_has() { return DocHas_(); } // the doc to be returned -- cgit v1.2.3