From c9b317fed8c0125f280b82ff18dd32dbd0a2d13e Mon Sep 17 00:00:00 2001 From: Jeff Marshall Date: Sun, 18 Feb 2024 09:41:55 -0500 Subject: [PATCH] fbc: internal: fix comment --- src/compiler/ast-optimize.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/ast-optimize.bas b/src/compiler/ast-optimize.bas index 7c5e605c2..b35142a14 100644 --- a/src/compiler/ast-optimize.bas +++ b/src/compiler/ast-optimize.bas @@ -1704,7 +1704,7 @@ private function hOptStrAssignment _ case AST_NODECLASS_DEREF '' check if we can optimize to fb_StrConcatByref() '' - look specifically for a = a + b where both a & b are STRINGS where we - '' won't necessarily know until run time if a & b could be the same descriptorknow until run time if a and b could be the same descriptor. + '' won't necessarily know until run time if a & b could be the same descriptor '' - but don't optimize a = a + a since we must make a copy anyway '' ''