From 1c04cf6f41ffac10ce27d37bd17470f5fc63cf7a Mon Sep 17 00:00:00 2001 From: Norbert Hartl Date: Thu, 15 Oct 2026 17:02:52 +0200 Subject: [PATCH] Fix misspelled javascript pragma in PjString>>findString:startingAt: The method used (capital S). The transpiler only recognizes , so the pragma was ignored and the method was transpiled to an empty body returning the receiver. Any caller comparing the result with 0 (e.g. includesSubstring: style checks) therefore always got a wrong answer in JavaScript. Co-Authored-By: Claude Opus 5.5 --- Pharo/PharoJs-Base-JS-CoreLibraries/PjString.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pharo/PharoJs-Base-JS-CoreLibraries/PjString.class.st b/Pharo/PharoJs-Base-JS-CoreLibraries/PjString.class.st index dd1538af..3058b20b 100644 --- a/Pharo/PharoJs-Base-JS-CoreLibraries/PjString.class.st +++ b/Pharo/PharoJs-Base-JS-CoreLibraries/PjString.class.st @@ -244,7 +244,7 @@ PjString >> endsWith: suffix [ { #category : 'accessing' } PjString >> findString: substring startingAt: start [ - + ] { #category : 'accessing' }