Opened 8 years ago
Closed 8 years ago
#3256 closed Bug (Fixed)
Error in Au3Stripper
Reported by: | omash@… | Owned by: | Jos |
---|---|---|---|
Milestone: | Component: | SciTE4AutoIt | |
Version: | Other | Severity: | None |
Keywords: | Cc: |
Description
Au3Stripper does not handle the type of line:
Global Const $aArray[<size>] = [value1, value2...]
In the future, there is an error "possibly used before declaration"
Attachments (0)
Change History (7)
comment:1 follow-up: ↓ 2 Changed 8 years ago by Jos
comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 8 years ago by omash@…
Replying to Jos:
Please post a clear bug report to avoid me having to guess, which includes a code snippet and the error made in the output script after running au3stripper.
Thanks
Jos
Global Const $a[3] = [0, 1, 2] _Test() Func _Test () Local $str = "tst1" & $a[1] & "tst2" MsgBox(0, '', $str) EndFunc
comment:3 in reply to: ↑ 2 Changed 8 years ago by omash@…
Replying to omash@…:
Replying to Jos:
Please post a clear bug report to avoid me having to guess, which includes a code snippet and the error made in the output script after running au3stripper.
Thanks
Jos
Global Const $a[3] = [0, 1, 2] _Test() Func _Test () Local $str = "tst1" & $a[1] & "tst2" MsgBox(0, '', $str) EndFunc
After starting the au3stripper:
_10() Func _10() Local $0 = "tst1" & $1[1] & "tst2" ;An error occurs in this line: "$1: possibly used before declaration." MsgBox(0, '', $0) EndFunc
comment:4 Changed 8 years ago by Jos
- Status changed from new to accepted
comment:5 Changed 8 years ago by Jos
Will have a look.
Thanks
Jos
comment:6 Changed 8 years ago by Jos
Please try the current beta version 16.612.1119.1 to see if that fixes it and doesn't brake anything else.
Jos
comment:7 Changed 8 years ago by Jos
- Resolution set to Fixed
- Status changed from accepted to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Please post a clear bug report to avoid me having to guess, which includes a code snippet and the error made in the output script after running au3stripper.
Thanks
Jos