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