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 240: "delete" in package will not compile
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2013


 
Reported by m...@aaronspjut.com, May 16, 2013
What steps will reproduce the problem?
Try to compile this code:
-----------
package example.delete;
class Main{
	public static function main():Void{
		trace("foo");
	}
}
-----------

What is the expected output? What do you see instead?
This should compile (it does in other targets).
Get this error:
In file included from ./src/example/delete/Main.cpp:4:
include/example/delete/Main.h:8: error: expected identifier before ‘delete’
include/example/delete/Main.h:8: error: expected unqualified-id before ‘delete’
include/example/delete/Main.h:10: error: expected identifier before ‘delete’
include/example/delete/Main.h:10: error: expected unqualified-id before ‘delete’
./src/example/delete/Main.cpp:105: error: expected `}' at end of input


What version of the product are you using? On what operating system?
haxe 3 rc1, os x

May 18, 2013
Project Member #1 gameh...@gmail.com
I put a fix for this in about April 25, so hopefully this should be fixed in RC2.
Status: Fixed

Powered by Google Project Hosting