Foo.hx 201 B

1234567891011
  1. package issue7777;
  2. #if (eval || macro)
  3. import haxe.macro.Expr;
  4. #end
  5. abstract Foo<T>(T) {
  6. @:from public static macro function fromThing<T>(e:ExprOf<Thing>):ExprOf<Foo<T>> {
  7. return macro null;
  8. }
  9. }