Modify ↓
Opened 10 years ago
Closed 8 years ago
#3192 closed Bug (No Bug)
Regression with reference
| Reported by: | guinness | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | Cc: |
Description
The following snippet causes an error to be invoked, though does not occur in older versions of AutoIt prior to v3.3.12.0. According to Jos, this occurred in Rev 10373 made for v3.3.13.7.
Local $aArray[] = [99, 100, $aArray[0]] ; => 99, 100, 99
Attachments (0)
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

It seems the "regression" was introduced in 3.3.13.5 due to 10345
For me is not good to reference a non declared var
So $aArray[0] is not declared so I think the definition of "Local $aArray[]" is a problem as the array is not defined
So for me before 3.3.13.5 was wrong, I propose to close "No Bug"