• Advertisement
Sign in to follow this  

Compiller bug

This topic is 1916 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

This script code is compilated

[CODE] Test @cur_test;

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

void DoFail()
{} [/CODE] Edited by Andreas Jonsson

Share this post


Link to post
Share on other sites
Advertisement
not sure it's right or not - but this code is compilated ok!

[quote]int some_val{ }[/quote]

Visual Studio for this code say

[quote]error C2470: 'some_val' : looks like a function definition, but there is no parameter list; skipping apparent body[/quote]

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement