Fix Issue #318: Incorrect type generation

After fix:
var a:Array<String> = new Array<String>();
and make "Assign statement for variable" to a[0]
we got 
var string:String = a[0];