mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 23:09:05 +00:00
Fixed method call args being marked as duplicate declarations
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user