genius257 / vscode-autoit

AutoIt language extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=genius257.autoit
MIT License
4 stars 3 forks source link

Variable identifier outside function points to function parameter as it's declaration #43

Closed genius257 closed 6 months ago

genius257 commented 6 months ago

variables within the same line numbers, as a function in an included script, have their declarator seen as the parameter of said function.

Example that demonstrates this issue:

Func _ArrayAdd(ByRef $aArray, $vValue, $iStart = 0, $sDelim_Item = "|", $sDelim_Row = @CRLF, $iForce = $ARRAYFILL_FORCE_DEFAULT) Is declared on line 77 in array.au3

#include <array.au3>

$aArray