Modify

Opened 9 years ago

Closed 9 years ago

#1769 closed Bug (Rejected)

Au3Check does not Check "If Not IsDeclared("VAR") Then Then Global Const"

Reported by: Emiel Wieldraaijer Owned by: Jos
Milestone: Component: Au3Check
Version: 3.3.6.1 Severity: None
Keywords: Cc:

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

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

The code you demonstrate is stupid and is a hack work-around for a larger organization issue.

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jos.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.