clemos / try-haxe

A small webapp that allows to test Haxe online
https://try.haxe.org
MIT License
126 stars 41 forks source link

Comment above 'class Test' causes build error #134

Open jcward opened 7 years ago

jcward commented 7 years ago

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 commented 7 years ago

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!");
    }
}
clemos commented 7 years ago

Yes, we are working on it :)