bug with funcdef behavior?

Started by
2 comments, last by WitchLord 1 year, 8 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

Advertisement

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

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