Issue 240: "delete" in package will not compile
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