From fa945f88e71133918ad328836f966c7004f5d265 Mon Sep 17 00:00:00 2001 From: Cameron Ross Date: Thu, 30 May 2024 13:21:16 -0300 Subject: [PATCH] fix a deprecation introduced by DMD 2.109.0 --- source/stdx/data/json/lexer.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/stdx/data/json/lexer.d b/source/stdx/data/json/lexer.d index 5c8f474..53a546e 100644 --- a/source/stdx/data/json/lexer.d +++ b/source/stdx/data/json/lexer.d @@ -607,7 +607,7 @@ struct JSONLexerRange(Input, LexOptions options = LexOptions.init, String = stri return; } - bool negexp = void; + bool negexp = false; if (_input.front == '-') { negexp = true;