From 5a4df097b2976c24c449c56cf035995edfb1261e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 7 Mar 2017 09:11:09 -0500 Subject: 0.13.6 dlang function calls, syntax (ufcs related), logic should be retained --- org/ao_debugs.org | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'org/ao_debugs.org') diff --git a/org/ao_debugs.org b/org/ao_debugs.org index 16efa26..c35ff2e 100644 --- a/org/ao_debugs.org +++ b/org/ao_debugs.org @@ -499,7 +499,7 @@ debug(headermakejson) { switch (main_header) { case "make": foreach (sub_header; ptr_head_sub_make) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -531,7 +531,7 @@ debug(headermetadatajson) { switch (main_header) { case "creator": foreach (sub_header; ptr_head_sub_creator) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -543,7 +543,7 @@ debug(headermetadatajson) { break; case "title": foreach (sub_header; ptr_head_sub_title) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -555,7 +555,7 @@ debug(headermetadatajson) { break; case "rights": foreach (sub_header; ptr_head_sub_rights) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -567,7 +567,7 @@ debug(headermetadatajson) { break; case "date": foreach (sub_header; ptr_head_sub_date) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -579,7 +579,7 @@ debug(headermetadatajson) { break; case "original": foreach (sub_header; ptr_head_sub_original) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -591,7 +591,7 @@ debug(headermetadatajson) { break; case "classify": foreach (sub_header; ptr_head_sub_classify) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -603,7 +603,7 @@ debug(headermetadatajson) { break; case "identifier": foreach (sub_header; ptr_head_sub_identifier) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -615,7 +615,7 @@ debug(headermetadatajson) { break; case "notes": foreach (sub_header; ptr_head_sub_notes) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, @@ -627,7 +627,7 @@ debug(headermetadatajson) { break; case "publisher": foreach (sub_header; ptr_head_sub_publisher) { - if (to!string(doc_matters.dochead_meta[main_header][sub_header]).length > 2) { + if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) { writefln( "%s:%s: %s", main_header, -- cgit v1.2.3