Crash on temp string objects

Started by
2 comments, last by WitchLord 3 years, 4 months ago

Hi.

Program crashed on run that code:

string("aaaa").findFirst("v");

I was test it in asrun, with sdtstring. Test sample:

print("" + "aaaa".findFirst("v"));         // worked
print("" + string("aaaa").findFirst("v")); // crashed, in StringFindFirst come invalid address

Advertisement

Thanks for the report.

I'll investigate and have this fixed as soon as possible.

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

I've fixed this in revision 2687.

Regards,
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