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

"Script mode" tweaks #120

Open
2 tasks
clemos opened this issue Nov 26, 2016 · 3 comments
Open
2 tasks

"Script mode" tweaks #120

clemos opened this issue Nov 26, 2016 · 3 comments
Labels

Comments

@clemos
Copy link
Owner

clemos commented Nov 26, 2016

  • fix error reporting (offsets are quite obviously wrong)
  • implement custom class name (?)
@clemos clemos added the bug label Nov 26, 2016
@markknol
Copy link
Contributor

markknol commented Apr 11, 2017

if you start with code comment, the complete class doesnt compile
https://try.haxe.org/#A9765

// Is haxe great?
class Test {
    static function main() {
        trace("Haxe is great!");
    }
}

Build failure
Test.hx:8: characters 0-5 : Unexpected class

@tariqbenezza
Copy link
Contributor

I'm on it

@clemos
Copy link
Owner Author

clemos commented Apr 11, 2017

We probably want to trim more than whitespaces here : https://github.com/clemos/try-haxe/blob/master/src/api/Compiler.hx#L94
We can use something like this instead of ltrim : https://try.haxe.org/#467a7

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

No branches or pull requests

3 participants