Advertisement

Compiller bug

Started by October 15, 2012 08:44 AM
5 comments, last by WitchLord 12 years, 1 month ago
Hi smile.png

This script code is compilated

Test @cur_test;

class Test
{
void Do()
{
cur_test.DoFail();
}
}

void DoFail()
{}
Thanks. I'll look into it.

You seem to have a talent for finding strange bugs in AngelScript. :)

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
smile.png
I've fixed this problem in revision 1439.

Thanks,
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

not sure it's right or not - but this code is compilated ok!

int some_val{ }[/quote]

Visual Studio for this code say

error C2470: 'some_val' : looks like a function definition, but there is no parameter list; skipping apparent body[/quote]
This would be interpreted as a virtual property accessor in AngelScript. It should however give an error since neither get nor set is given.

I'll look into it. Thanks.

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 now in revision 1442. Thanks.

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