Bug with assigning void return types

Started by
2 comments, last by WitchLord 1 year, 6 months ago

Another assertion failed error

Expression: ctx→type.dataType.IsReference()

Here is a minimal reproduction of the error

class Testing {
    Testing () {}

    void NoReturn () {
        print("testing");
    }

}

void Main() {
    auto testClass = Testing();
    dictionary test = {{"testValue", testClass.NoReturn()}};
}
Advertisement

Thanks for the report. I'll look into this 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

I've fixed this in revision 2802.

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