Pārlūkot izejas kodu

[cs] use haxe instead of @:functionCode for Reflect.compare

Dan Korostelev 11 gadi atpakaļ
vecāks
revīzija
c922ef88bd
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  1. 1 4
      std/cs/_std/Reflect.hx

+ 1 - 4
std/cs/_std/Reflect.hx

@@ -140,12 +140,9 @@ import cs.internal.Function;
 		return false;
 	}
 
-	@:functionCode('
-		return haxe.lang.Runtime.compare(a, b);
-	')
 	public static function compare<T>( a : T, b : T ) : Int
 	{
-		return 0;
+		return cs.internal.Runtime.compare(a, b);
 	}
 
 	@:functionCode('