1.1.27.01 - Use of compound assignment operators with parameterized class properties causes crash Topic is solved

Report problems with documented functionality
geek
Posts: 1052
Joined: 02 Oct 2013, 22:13
Location: GeekDude
Contact:

1.1.27.01 - Use of compound assignment operators with parameterized class properties causes crash

31 Dec 2017, 09:50

Starting in version 1.1.27.01, AHK crashes when I try to use a compound assignment operator (such as += and -=) where the left-hand-side is a class property that uses a parameter.

A real-world use of this construct can be found here: https://github.com/G33kDude/RichCode.ah ... de.ahk#L98

Sample code that causes the crash:

Code: Select all

class Test
{
	Prop[a]
	{
	}
}

Gui, Show, w100 h100 ; Show a visible crash dialog
Test.Prop[1] += 0

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 26 guests