swf9 build fix

This commit is contained in:
Dima Granetchi
2014-11-21 17:29:46 +02:00
parent 680b95a941
commit b1a2355d28
+1 -1
View File
@@ -98,7 +98,7 @@ class BindExt {
var callListener = switch (type) { var callListener = switch (type) {
case macro : Void: macro if (!init) $i{zeroListener}(); case macro : Void: macro if (!init) $i{zeroListener}();
case _: macro if (!init) $i{zeroListener}(null, try { $expr; } catch (e:Dynamic) { null; }); case _: macro if (!init) { var v = null; try { v = $expr; } catch (e:Dynamic) { }; $i{zeroListener}(null, v); };
} }
var fieldListener = macro function $fieldListenerName(?from:Dynamic, ?to:Dynamic) $callListener; var fieldListener = macro function $fieldListenerName(?from:Dynamic, ?to:Dynamic) $callListener;