Page 1 of 1

[Fixed] throw didn't work correctly in user defined Enum/Next

Posted: 09 Nov 2015, 09:52
by RobertL

Code: Select all

class a{
	_NewEnum(){
		return a
		;~ throw Exception(A_ThisFunc,-2)	;a
	}
	Next(p*){
		throw Exception(A_ThisFunc,-2)		;b
	}
}
d:=new a
for _ in d{
}
MsgBox c
Throw would just jump out, and gose on. It should pop-up unhandle exception, and abort current thread.

Re: throw didn't work correctly in user defined Enum/Next

Posted: 11 Nov 2015, 04:11
by lexikos
Fixed in v1.1.22.08.