From e7ed7cfc424a7ca5a9ec4d2e218cea72d6df3672 Mon Sep 17 00:00:00 2001 From: dkorpel Date: Tue, 18 May 2021 13:48:00 +0200 Subject: [PATCH] fix lambda syntax in core.internal.convert test --- src/core/internal/convert.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/internal/convert.d b/src/core/internal/convert.d index 9c705c78c2..c6e3fc5439 100644 --- a/src/core/internal/convert.d +++ b/src/core/internal/convert.d @@ -783,7 +783,7 @@ nothrow pure @safe unittest enum Month : uint { jan = 1} Month m = Month.jan; const bytes = toUbyte(m); - enum ctfe_works = (() => { Month x = Month.jan; return toUbyte(x).length > 0; })(); + enum ctfe_works = (() { Month x = Month.jan; return toUbyte(x).length > 0; })(); } @trusted pure nothrow @nogc