This commit is contained in:
back2dos
2013-12-10 20:50:33 +01:00
parent 62aeb25356
commit f1012c3478

View File

@@ -16,7 +16,7 @@ class Types {
static var types = new Map<Int,Void->Type>();
static var idCounter = 0;
macro static public function getType(id:Int):Type
@:noUsing macro static public function getType(id:Int):Type
return types.get(id)();
static public function getID(t:Type, ?reduced = true)