Advertisement

Crash on temp string objects

Started by December 23, 2020 12:45 PM
2 comments, last by WitchLord 3 years, 11 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

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

Advertisement

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