﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2215	Wrong(?) syntax check of default parameter value with array variable	MrCreatoR <mscreator@…>	trancexx	"Try Syntax Check on this example:

{{{
Global $aArr[2] = [1]

Func Test($vParam=$aArr[0])
	
EndFunc
}}}

According to syntax check this code is good, but when you run it there is an error:
{{{
Badly formatted ""Func"" statement.:
Func Test($vParam=$aArr[0])
Func Test($vParam=$aArr^ ERROR
}}}

If we use non array variable as param value, then no errors shown.

I think the syntax is right, so the error should be removed, or just change the syntax check to detect this kind of syntax mistake."	Bug	closed	3.3.9.5	AutoIt	3.3.8.1	None	Fixed		
