try-haxe icon indicating copy to clipboard operation
try-haxe copied to clipboard

Comment above 'class Test' causes build error

Open jcward opened this issue 7 years ago • 2 comments

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 avatar May 03 '17 16:05 jcward

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 avatar May 03 '17 16:05 jcward

Yes, we are working on it :)

clemos avatar May 03 '17 17:05 clemos