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