Shorten macro (thanks @player-03)

This commit is contained in:
Joshua Granick
2016-05-14 11:27:02 -07:00
parent e26906f065
commit 51099df564

View File

@@ -1512,8 +1512,7 @@ class AssetCache {
private static macro function cacheVersion () {
var version = Std.int (Math.random () * 1000000);
return Context.makeExpr (version, Context.currentPos ());
return macro $v{ Std.int (Math.random () * 1000000) };
}