Parcourir la source

inline is not necessary

frabbit il y a 11 ans
Parent
commit
8ec195b9e0
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      std/python/internal/HxOverrides.hx

+ 4 - 4
std/python/internal/HxOverrides.hx

@@ -11,18 +11,18 @@ class HxOverrides {
 	// this two cases iterator and shift are like all methods in String and Array and are already handled in Reflect
 	// we need to modify the transformer to call Reflect directly
 
-	inline static public function iterator(x) {
+	static public function iterator(x) {
 		return Reflect.callMethod(null, Reflect.field(x, "iterator"), []);
 	}
 
-	inline static public function shift(x) {
+	static public function shift(x) {
 		return Reflect.callMethod(null, Reflect.field(x, "shift"), []);
 	}
-	inline static public function toUpperCase(x) {
+	static public function toUpperCase(x) {
 		return Reflect.callMethod(null, Reflect.field(x, "toUpperCase"), []);
 	}
 
-	inline static public function toLowerCase(x) {
+	static public function toLowerCase(x) {
 		return Reflect.callMethod(null, Reflect.field(x, "toLowerCase"), []);
 	}