Advertisement

Failed assertion on const type w/ invalid assignment

Started by January 05, 2025 01:58 PM
2 comments, last by WitchLord 1 week, 4 days ago

There's an old thread for this, but it's still reproducable on the latest WIP version: https://www.gamedev.net/forums/topic/715649-assertion-failure-const-string-asdf-10/

Here's a minimal case that reproduces the problem and doesn't rely on any bindings:

class Foo {}

void Main() {
	const Foo f = 10;
}

Thanks for letting me know. I'll investigate it.

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

Advertisement

Fixed!

https://sourceforge.net/p/angelscript/code/2990/

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

Advertisement