1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-11-24 08:33:29 +02:00

getMetadataStackForVar

This commit is contained in:
salexdv 2022-02-12 13:17:21 +03:00
parent cc81bb7ae9
commit 92ddd63f82

View File

@ -2443,7 +2443,7 @@ class bslHelper {
previous_ref: false,
column: var_match.range.startColumn + varName.length
});
if (var_match.matches[1].indexOf('[') == 0)
if (var_match.matches[1] && var_match.matches[1].indexOf('[') == 0)
stack.push({
var: engLang ? 'get' : 'получить',
line: position.lineNumber,