From 7970cbfc81ace5a1326ec1cd04123f5ac22fc496 Mon Sep 17 00:00:00 2001 From: Robert burner Schadek Date: Tue, 5 Sep 2023 17:06:44 +0200 Subject: [PATCH] still nothing --- src/dscanner/analysis/always_curly.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dscanner/analysis/always_curly.d b/src/dscanner/analysis/always_curly.d index 25500ea6..afd4ecc5 100644 --- a/src/dscanner/analysis/always_curly.d +++ b/src/dscanner/analysis/always_curly.d @@ -174,9 +174,9 @@ unittest }, sac); assertAutoFix(q{ - if(true) return; + if(true) return; // fix: if must be follow by a BlockStatement aka. { } }c, q{ - if(true) { return; } + if(true) { return; } // fix: if must be follow by a BlockStatement aka. { } }c, sac); stderr.writeln("Unittest for AlwaysCurly passed.");