Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Php parsing issue. #1

Open
0b1kn00b opened this issue Oct 1, 2010 · 2 comments
Open

Php parsing issue. #1

0b1kn00b opened this issue Oct 1, 2010 · 2 comments

Comments

@0b1kn00b
Copy link
Contributor

0b1kn00b commented Oct 1, 2010

Parse error: syntax error, unexpected '(' in D:\stack\projects\PhpStax\bin\lib\Function2Extensions.class.php on line 207;

minimal case:

import Prelude;
import PreludeExtensions;

using Prelude;
using PreludeExtensions;

class Main {

static function main() {
    var f : Function1<Dynamic,Dynamic> = function (y) {
        trace("ok");
    }
    f.uncurry();
}

}

@fponticelli
Copy link
Collaborator

Yes, I am aware that php is not very stax friendly. Running the tests I've been able to spot 2 or 3 minor bugs (in term of codes refactoring) that are enough to make php explode. I've reported on the haxe issue list and I will work on them asap. Thank you for reporting anyway, I'll try to add a specific test for your case too.

@fponticelli
Copy link
Collaborator

Can you confirm that this issue is still alive after haxe 2.08?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants