11 lines
238 B
Haxe
11 lines
238 B
Haxe
import haxe.macro.Context;
|
|
import haxe.macro.Expr;
|
|
using tink.MacroApi;
|
|
|
|
class Functions extends Base {
|
|
function test() {
|
|
var f:Function = (macro function () {}).getFunction().sure();
|
|
f.asExpr('foo');
|
|
assertTrue(true);
|
|
}
|
|
} |