"--obj.int" Increments instead of decrementing.

Discuss the future of the AutoHotkey language
User avatar
Flipeador
Posts: 1112
Joined: 15 Nov 2014, 21:31
GitHub: Flipeador
Location: Argentina
Contact:

"--obj.int" Increments instead of decrementing.

24 Jun 2019, 21:39

Code: Select all

; v2.0-a103-56441b52
o := {n:7}
MsgBox ++o.n  ; 8 - OK.
MsgBox --o.n  ; 9 - ??.
o.n--
MsgBox o.n    ; 8 - OK.
Works properly in v1.
Spoiler
Helgef
Posts: 3780
Joined: 17 Jul 2016, 01:02
Contact:

Re: "--obj.int" Increments instead of decrementing.

25 Jun 2019, 02:31

I've submitted fixes for both issues, see :arrow: #140 and :arrow: #141.

Cheers

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: No registered users and 7 guests