Fixed method call args being marked as duplicate declarations

This commit is contained in:
bigguy345 committed 2026-03-09 06:21:24 +02:00
1 parent 965267a770
commit 96372c05fd
1 file changed
+1
@@ -1752,6 +1752,7 @@ public class ScriptDocument {
MultiDeclaratorParser.scanJavaContinuationDeclarators(bodyText, greedyScanStart, bodyStart,
(cVarName, cAbsNamePos, cAbsInitStart, cAbsInitEnd) -> {
if (isExcluded(cAbsNamePos)) return;
if (findEnclosingParenStart(bodyStart, cAbsNamePos) >= 0) return;
FieldInfo cField = FieldInfo.localField(cVarName, greedySharedType, cAbsNamePos,
fMethod3, cAbsInitStart, cAbsInitEnd, greedySharedMod);
ScopeInfo cScope = computeBlockScope(bodyStart, bodyEnd, cAbsNamePos);