V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

Discuss the future of the AutoHotkey language
SAbboushi
Posts: 137
Joined: 08 Dec 2014, 22:13

V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

17 Oct 2018, 23:30

Code: Select all

#Warn
x:=2
gives:
Warning: This variable has not been assigned a value.

Specifically: x (a global variable)

Line#
002: x := 2
003: Exit
004: Exit
---> 004: Exit
Helgef
Posts: 3239
Joined: 17 Jul 2016, 01:02
Contact:

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

18 Oct 2018, 04:50

I do not have any issues on either (32 or 64 bit) a99 or a100 (latest).

Cheers.
swagfag
Posts: 1385
Joined: 11 Jan 2017, 17:59

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

18 Oct 2018, 04:56

cant reproduce in neither 099 nor 100
SAbboushi
Posts: 137
Joined: 08 Dec 2014, 22:13

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

18 Oct 2018, 09:33

I'm using SciTE4AutoHotkey with DebugVars.ahk and receive the warnings when launch a debug session.
SAbboushi
Posts: 137
Joined: 08 Dec 2014, 22:13

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc?

18 Oct 2018, 22:49

So it looks like the problem is with SciTE4AutoHotkey or SciTE4AutoHotkey/DebugVars.ahk?

I don't experience this with 096, but I do with 099 and 100.

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: No registered users and 12 guests