fix: Resolve Pascal extraction edge cases

- Fix defProc method lookup collisions when multiple classes share
  method names (e.g. Create) by indexing qualified forms
- Remove overly broad 'Id' prefix filter that swallowed user-defined
  symbols like Identifier or IdleTimer
- Use case-insensitive extension matching for DFM/FMX routing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Olaf Monien
2026-02-18 01:29:49 +01:00
co-authored by Claude Opus 4.6
parent 77135445db
commit a86ddf6e6a
2 changed files with 29 additions and 7 deletions
+1 -1
View File
@@ -435,7 +435,7 @@ export class ReferenceResolver {
const pascalUnitPrefixes = [
'System.', 'Winapi.', 'Vcl.', 'Fmx.', 'Data.', 'Datasnap.',
'Soap.', 'Xml.', 'Web.', 'REST.', 'FireDAC.', 'IBX.',
'IdHTTP', 'IdTCP', 'IdSSL', 'Id',
'IdHTTP', 'IdTCP', 'IdSSL',
];
if (pascalUnitPrefixes.some((p) => name.startsWith(p))) {
return true;