Skip to content

Commit

Permalink
Keeping compatibility with haxe 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shoebox committed Jun 23, 2014
1 parent 9f242c6 commit 238db43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/org/shoebox/macros/MacroMirrors.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down Expand Up @@ -397,7 +399,9 @@ class JniTools
"V";

default:
#if (haxe_ver >= 3.1)
Context.fatalError("Unsupported abstract type ::: "+a.name, pos);
#end
}

return result;
Expand Down

0 comments on commit 238db43

Please sign in to comment.