Advertisement

bug with funcdef behavior?

Started by September 20, 2022 08:16 PM
2 comments, last by WitchLord 2 years, 2 months ago

I was asked to report this AngelScript bug with funcdef. I have two different classes with the same named funcdef. If I change the type of one funcdef it no longer complains. Is this proper code?

class ClassA {
    funcdef void CALLBACK(int);
    CALLBACK@ func;
}

class ClassB {
    funcdef void CALLBACK(int); // change to different type; no more error
    CALLBACK@ func;
}

It throws an Assertion failed! error with the Expression: result→value == type

Thanks for reporting this. It certainly looks like a bug. 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

I've fixed this in revision 2791.

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