Closed 0b1kn00b closed 11 years ago
Kind of works now. Please beware that currently you need to either fully qualify types in the partial implementation or import them in the implementor. Will see what to do about this.
did you push to haxe2? I'm getting a 'has no field' error on lazyComplex. (updated tink master, cleared compiler cache)
C:\world\stack\prj\tinkerbell\src/tink/macro/tools/ExprTools.hx:449: lines 449-451 : Void -> haxe.macro.Type has no field lazyComplex
Ooops, sorry! ExprTools.lazyType wasn't really supposed to be in that changeset. Anyway, now it really should work ;)
sorry,
C:\world\stack\prj\tinkerbell\src/tink/macro/tools/TypeTools.hx:92: characters 13-21 : haxe.macro.Function has no field asExpr
and that's
var f = (macro null).func(fArgs, false);
f.expr = EReturn(member.call(f.getArgIdents(), e.pos)).at(e.pos);
f.asExpr(e.pos).typeof().sure();
I definitely need to review my approach to version control ... Please check again.
legend thanks.
will a module import import the classes? got it, thanks.
produces
very recent svn, compiled with -D haxe3