From 41d9682a5ffa7e98b4c90a803f4b0b7712b786b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20Nordl=C3=B6w?= Date: Mon, 23 Aug 2021 23:02:09 +0200 Subject: [PATCH] Bump dsymbol to use branch use-gcallocator Replace deprecated `body` with `do` Bump dsymbol Bump dsymbol --- dsymbol | 2 +- src/dscanner/analysis/undocumented.d | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dsymbol b/dsymbol index aa4db35..049bec1 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit aa4db35bee875a3c937cdd78b7f2e8c3a475fe79 +Subproject commit 049bec15b153bd1bc7ca78af862cfd41ae8c2d9f diff --git a/src/dscanner/analysis/undocumented.d b/src/dscanner/analysis/undocumented.d index 46e3f76..36551d1 100644 --- a/src/dscanner/analysis/undocumented.d +++ b/src/dscanner/analysis/undocumented.d @@ -265,7 +265,7 @@ private: { assert(isProtection(p)); } - body + do { stack[$ - 1].protection = p; } @@ -275,7 +275,7 @@ private: { assert(isProtection(p)); } - body + do { stack ~= ProtectionInfo(p, false); } @@ -349,4 +349,3 @@ unittest stderr.writeln("Unittest for UndocumentedDeclarationCheck passed."); } -