Update to newest haxe version.

This commit is contained in:
Juraj Kirchheim
2019-09-13 09:39:24 +02:00
parent 4fd03ed667
commit 3356172b7f
5 changed files with 27 additions and 6 deletions

11
tests/Functions.hx Normal file
View File

@@ -0,0 +1,11 @@
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);
}
}