Custom Query (3917 matches)
Results (352 - 354 of 3917)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2612 | Fixed | Au3Check bugs on function reference when function takes byref parameter | ||
| Description |
Code to trigger the issue: Local $f = function Local $s = 'xxx' $f($s) ; function declaration needs to be after function reference assignment for the bug to occur Func function(ByRef $title) MsgBox(0, $title, 'function invoked') EndFunc Au3Check gets confused and raises an error: >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Users\jc\Documents\AutoMAT\tmp\fct.au3" /UserParams +>00:45:12 Starting AutoIt3Wrapper v.2.1.4.0 SciTE v.3.3.7.0 ; Keyboard:0000040C OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:040C Keyboard:0000040C OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.11.2) from:C:\Program Files (x86)\AutoIt3\Beta "C:\Users\jc\Documents\AutoMAT\tmp\fct.au3"(15,28) : error: function() previously called with Const or expression on ByRef param(s). Func function(ByRef $title) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "C:\Users\jc\Documents\AutoMAT\tmp\fct.au3"(10,20) : REF: first call to function(). Local $f = function ~~~~~~~~~~~~~~~~~~~^ C:\Users\jc\Documents\AutoMAT\tmp\fct.au3 - 1 error(s), 0 warning(s) Non-beta version 3.3.10.2 behaves identically. |
|||
| #1769 | Rejected | Au3Check does not Check "If Not IsDeclared("VAR") Then Then Global Const" | ||
| Description |
Hi, Maybe i'm wasting your time(and mine) I don't know if it's by design or not the function of Au3Check but If i include Constants.au3 and another include file Which hold the following code : If Not IsDeclared("IDI_HAND")Then Global Const $IDI_HAND = 32513 Au3Check gives the following Error C:\WorkInProgress\Include\ModernMenuRaw.au3(122,81) : ERROR: $IDI_HAND previously declared as a 'Const' Maybe it isn't a bug.. if it isn't it could be a feature request. Thanks Emiel Wieldraaijer |
|||
| #1051 | Fixed | Au3Check does not detect invalid statement | ||
| Description |
Local$var= 1 is not detected |
|||
