Closed
Description
[Google Issue #1570 : https://code.google.com/p/haxe/issues/detail?id=1570]
by si...@haxe.org, at 27/02/2013, 17:46:42
enum Token { Const(i:String); }
class Main { static public function main() { var x = Const("foo"); } }
The generated PHP code has
$x = Token::Const("foo");
Which errors with
Parse error: syntax error, unexpected T_CONST, expecting T_STRING or T_VARIABLE or '$'
This is a regression.
Activity