Main.hx 282 B

123456789101112131415
  1. class Main {
  2. static var tmp:Int;
  3. @:analyzer(ignore)
  4. static function main() {
  5. var finally = 999;
  6. tmp = finally;
  7. }
  8. #if macro
  9. static function setupGenerator() {
  10. haxe.macro.Compiler.setCustomJSGenerator(api -> new haxe.macro.ExampleJSGenerator(api).generate());
  11. }
  12. #end
  13. }