My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 38: minor keyword issue,int as id
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 2010


 
Reported by aboutwh...@googlemail.com, Jul 26, 2010
What steps will reproduce the problem?

class Test3 {
	public static function main() {
		var int = 10;
	}
}

fails to compile, is there a general keyword replacement mechanism?
Jul 29, 2010
Project Member #1 gameh...@gmail.com
I think this has been fixed for  while  Is working on haxe svn.
Status: Fixed
Jul 29, 2010
#2 aboutwh...@googlemail.com
yes int works now, thx.
 
I checked other keywords and found still problems for these:

class Test3 {
	
		
	public static function main() {
		
		var asm	 = 19;
		var bool	 = 19;
		
		var const_cast	 = 19;
		
		var dynamic_cast	 = 19;

		var explicit	 = 19;

		var export	 = 19; // just a cpp-compiler warning, but i think it should be replaced too

		var mutable	 = 19;
		var namespace	 = 19;

		var reinterpret_cast	 = 19;

		var static_cast	 = 19;

		var typeid	 = 19;

		var typename	 = 19;
		

		var virtual	 = 19;

		var wchar_t	 = 19;

		
	}
}

Jul 29, 2010
#3 aboutwh...@googlemail.com
i just checked that you already replace asm with _asm, but this is also a keyword ;)

Powered by Google Project Hosting