Main.hx 191 B

12345678910111213
  1. #if macro
  2. class Foo {
  3. public static function build(f:() -> Void)
  4. return [];
  5. public static function other():Void {}
  6. }
  7. #else
  8. @:build(Foo.build(Foo.other))
  9. class Main {}
  10. class Foo {}
  11. #end