From 238db43e4a9a9e322f842adb6c5939716c081c6f Mon Sep 17 00:00:00 2001 From: shoebox Date: Mon, 23 Jun 2014 15:24:31 +1000 Subject: [PATCH] Keeping compatibility with haxe 3.0 --- src/org/shoebox/macros/MacroMirrors.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/shoebox/macros/MacroMirrors.hx b/src/org/shoebox/macros/MacroMirrors.hx index 576929c..45fb898 100644 --- a/src/org/shoebox/macros/MacroMirrors.hx +++ b/src/org/shoebox/macros/MacroMirrors.hx @@ -352,8 +352,10 @@ class JniTools translateSubArgType(type, params, pos); default: + #if (haxe_ver >= 3.1) Context.fatalError( "Unsupported Type ::: " + type.getParameters()[0], pos); + #end } } @@ -397,7 +399,9 @@ class JniTools "V"; default: + #if (haxe_ver >= 3.1) Context.fatalError("Unsupported abstract type ::: "+a.name, pos); + #end } return result;