From 0f1c5d9e04614311d28ab3d9694b36b7a31cd29d Mon Sep 17 00:00:00 2001 From: Nicholas Wilson Date: Fri, 5 Jul 2024 15:03:21 +0800 Subject: [PATCH] use `immutable` instead of `__gshared` (#16665) --- compiler/src/dmd/backend/debugprint.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dmd/backend/debugprint.d b/compiler/src/dmd/backend/debugprint.d index 1a7334ce5592..365bc062e707 100644 --- a/compiler/src/dmd/backend/debugprint.d +++ b/compiler/src/dmd/backend/debugprint.d @@ -331,7 +331,7 @@ void WRdefnod() @trusted const(char)* fl_str(FL fl) { - __gshared const char*[FLMAX] fls = + immutable char*[FLMAX] fls = [ "FLunde", "FLconst", "FLoper",