support haxe v4

This commit is contained in:
Dima Granetchi
2019-11-15 00:50:48 +02:00
parent 59301a97b6
commit cf29021cd1
+2 -1
View File
@@ -42,11 +42,12 @@ class BindableMacros {
processed.push(tName);
var classType = type.getClass();
#if (haxe < "4.0.0")
Context.onMacroContextReused(function () {
processed = [];
return true;
});
#end
if (bindingSignalProvider == null) {
bindingSignalProvider = new bindx.macro.BindSignalProvider();