Advertisement

Property Get accessor not called / crash

Started by March 25, 2010 04:29 AM
1 comment, last by WitchLord 14 years, 8 months ago
AngelScript 2.18.2 r.575 If Get accessor in brackets than function not called and crash happens. Reproduce:

class Prop
{
	void set_Test(uint value){}
	uint get_Test() const {return 0;}
}

void TestProp()
{
	Prop p;
//	uint i=p.Test; // Ok
	uint i=(p.Test); // Get not called, crash
}


[Edited by - cvet on March 25, 2010 5:12:48 AM]
Thanks for the report. I'll look into this.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
This has been fixed in revision 578.

Thanks,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement