From fec561bf4a26c29fcf3d2bfa5834a97d0dfcca56 Mon Sep 17 00:00:00 2001 From: Allan Dowdeswell Date: Wed, 24 Jun 2026 15:36:14 -0600 Subject: [PATCH] Change regex declaration from static to final It was not compiling with "static" here. --- tools/hxcpp/Compiler.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hxcpp/Compiler.hx b/tools/hxcpp/Compiler.hx index 99352f6f7..e93674865 100644 --- a/tools/hxcpp/Compiler.hx +++ b/tools/hxcpp/Compiler.hx @@ -694,7 +694,7 @@ class Compiler { mPCH = inPCH; createCompilerVersion(); - static final regex = ~/clang/i; + final regex = ~/clang/i; if (inPCH != null && regex.match(mCompilerVersionString)) { mPCH = "clang"; }