Skip to content

Commit

Permalink
Merge pull request #10 from shoebox/fix/haxe-3.0-compatibility
Browse files Browse the repository at this point in the history
Keep compatibility with haxe 3.0
  • Loading branch information
shoebox committed Jun 23, 2014
2 parents 5a80598 + 238db43 commit fa26179
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 fa26179

Please sign in to comment.