Jump to content

  • Log In with Google      Sign In   
  • Create Account


- - - - -

Compiller bug


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 FDsagizi   Members   -  Reputation: 514

Like
0Likes
Like

Posted 15 October 2012 - 02:44 AM

Hi Posted Image

This script code is compilated

Test @cur_test;

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

void DoFail()
{}

Edited by Andreas Jonsson, 17 October 2012 - 04:42 PM.


Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3226

Like
0Likes
Like

Posted 15 October 2012 - 03:19 PM

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

#3 FDsagizi   Members   -  Reputation: 514

Like
0Likes
Like

Posted 15 October 2012 - 09:50 PM

Posted Image

#4 Andreas Jonsson   Moderators   -  Reputation: 3226

Like
1Likes
Like

Posted 16 October 2012 - 08:15 PM

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

#5 FDsagizi   Members   -  Reputation: 514

Like
0Likes
Like

Posted 19 October 2012 - 04:25 AM

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

int some_val{ }


Visual Studio for this code say

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



#6 Andreas Jonsson   Moderators   -  Reputation: 3226

Like
0Likes
Like

Posted 19 October 2012 - 11:24 AM

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

#7 Andreas Jonsson   Moderators   -  Reputation: 3226

Like
0Likes
Like

Posted 21 October 2012 - 09:37 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS