From 4af0972a5bdbc17db1cc797b78a7e5d51fcfb46b Mon Sep 17 00:00:00 2001 From: panzhijun Date: Mon, 11 Mar 2024 19:03:08 +0800 Subject: [PATCH] Minor fixes --- source/hunt/framework/view/algo/Wrapper.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/hunt/framework/view/algo/Wrapper.d b/source/hunt/framework/view/algo/Wrapper.d index 8e276443..fc7f0908 100755 --- a/source/hunt/framework/view/algo/Wrapper.d +++ b/source/hunt/framework/view/algo/Wrapper.d @@ -51,7 +51,7 @@ template wrapper(alias F) foreach(i, def; ParameterDefs) { - alias key = ParameterIdents[i]; + const key = ParameterIdents[i]; static if (key == "varargs") args[i] = UniNode.emptyArray; else static if (key == "kwargs")