From 4be4d017da9a62519b31b96b2ed81a7b17907bd8 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 03:55:38 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20fix=20false=20positive=20comment?= =?UTF-8?q?ed=20out=20code=20in=20registry.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Horizontal42 <75383519+Horizontal42@users.noreply.github.com> --- src/engine/registry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/registry.ts b/src/engine/registry.ts index 194cc86..dccfc5c 100644 --- a/src/engine/registry.ts +++ b/src/engine/registry.ts @@ -331,7 +331,7 @@ function registerUnits(reg: Registry): LengthPhrase[] { for (const ph of csPhrases) reg.addPhrase(ph, { t: "unit", unit: pUnit }, { caseSensitive: true }); for (const ph of phrases) reg.addPhrase(ph, { t: "unit", unit: pUnit }, { caseSensitive: false }); // collect unambiguous lowercase forms: "KM"/"Km" should still mean km, - // while "mm"/"Mm" stay strict (milli vs mega) + // whereas "mm"/"Mm" stay strict (milli vs mega) for (const ph of csPhrases) { const lower = ph.toLowerCase(); const prev = lenientSym.get(lower);