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

Report problems with documented functionality
User avatar
RobertL
Posts: 546
Joined: 18 Jan 2014, 01:14
Location: China

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

09 Nov 2015, 09:52

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.
我为人人,人人为己?

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 21 guests