Advertisement

Failed assertion on const type w/ invalid assignment

Started by January 05, 2025 01:58 PM
1 comment, last by WitchLord 6 days, 8 hours 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