Main.hx 235 B

123456789101112
  1. class Main {
  2. public static function main():Void {
  3. testMacro()();
  4. }
  5. static macro function testMacro() {
  6. return {
  7. expr: EFunction(null, {args: [], expr: macro {}, ret: null}),
  8. pos: haxe.macro.Context.currentPos()
  9. };
  10. }
  11. }