File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/github/_1c_syntax/bsl/languageserver/references Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ public BSLParserRuleContext visitLValue(BSLParser.LValueContext ctx) {
223
223
return super .visitLValue (ctx );
224
224
}
225
225
226
- findVariableSymbol (ctx .IDENTIFIER ().getText ()).ifPresent (s -> {
226
+ findVariableSymbol (ctx .IDENTIFIER ().getText ()).ifPresent (( VariableSymbol s ) -> {
227
227
if (notVariableInitialization (ctx , s )) {
228
228
addVariableUsage (
229
229
s .getRootParent (SymbolKind .Method ),
@@ -267,7 +267,7 @@ public BSLParserRuleContext visitForStatement(BSLParser.ForStatementContext ctx)
267
267
return super .visitForStatement (ctx );
268
268
}
269
269
270
- findVariableSymbol (ctx .IDENTIFIER ().getText ()).ifPresent (s -> {
270
+ findVariableSymbol (ctx .IDENTIFIER ().getText ()).ifPresent (( VariableSymbol s ) -> {
271
271
if (notVariableInitialization (ctx , s )) {
272
272
addVariableUsage (
273
273
s .getRootParent (SymbolKind .Method ),
@@ -287,7 +287,7 @@ public BSLParserRuleContext visitForEachStatement(BSLParser.ForEachStatementCont
287
287
return super .visitForEachStatement (ctx );
288
288
}
289
289
290
- findVariableSymbol (ctx .IDENTIFIER ().getText ()).ifPresent (s -> {
290
+ findVariableSymbol (ctx .IDENTIFIER ().getText ()).ifPresent (( VariableSymbol s ) -> {
291
291
if (notVariableInitialization (ctx , s )) {
292
292
addVariableUsage (
293
293
s .getRootParent (SymbolKind .Method ),
You can’t perform that action at this time.
0 commit comments