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

Comment above 'class Test' causes build error #134

Open
jcward opened this issue May 3, 2017 · 2 comments
Open

Comment above 'class Test' causes build error #134

jcward opened this issue May 3, 2017 · 2 comments

Comments

@jcward
Copy link

jcward commented May 3, 2017

Sometimes the compiler gives weird / incorrect failure messages. e.g.

selection_999 772

https://try.haxe.org/#45B1F

Related to #127? Because presumably the source has been modified / mangled in some way?

@jcward
Copy link
Author

jcward commented May 3, 2017

Ahh -- this is caused by the comment above the class name:

https://try.haxe.org/#4e5Ff

// This comment breaks it!
class Test {
    static function main() {
        trace("Haxe is great!");
    }
}

@jcward jcward changed the title Incorrect build error messages Comment above 'class Test' causes build error May 3, 2017
@clemos
Copy link
Owner

clemos commented May 3, 2017

Yes, we are working on it :)

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