From d29b0d90e0d735eee860b977c57cb75423d7a9ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 6 Feb 2024 09:19:07 +0100 Subject: [PATCH] Web: Bump closure compiler spec to ECMASCRIPT_2021 Fixes #88008. --- platform/web/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/web/detect.py b/platform/web/detect.py index 89cdab9fa4d..bbe1634dfa2 100644 --- a/platform/web/detect.py +++ b/platform/web/detect.py @@ -169,7 +169,7 @@ def configure(env: "Environment"): env.AddMethod(create_template_zip, "CreateTemplateZip") # Closure compiler extern and support for ecmascript specs (const, let, etc). - env["ENV"]["EMCC_CLOSURE_ARGS"] = "--language_in ECMASCRIPT_2020" + env["ENV"]["EMCC_CLOSURE_ARGS"] = "--language_in ECMASCRIPT_2021" env["CC"] = "emcc" env["CXX"] = "em++"