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
}
Property Get accessor not called / crash
AngelScript 2.18.2 r.575
If Get accessor in brackets than function not called and crash happens.
Reproduce:
[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
This has been fixed in revision 578.
Thanks,
Andreas
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
Popular Topics
Advertisement