Преглед на файлове

shift can be called through anons too

frabbit преди 10 години
родител
ревизия
6f58f48c85
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      std/python/internal/HxOverrides.hx

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

@@ -53,7 +53,7 @@ class HxOverrides {
 		return if (s == null) "null" else s;
 		return if (s == null) "null" else s;
 	}
 	}
 
 
-	@:ifFeature("dynamic_read.shift", "anon_optional_read.shift")
+	@:ifFeature("dynamic_read.shift", "anon_optional_read.shift", "anon_read.shift")
 	static public function shift(x) {
 	static public function shift(x) {
 		if (Boot.isArray(x)) {
 		if (Boot.isArray(x)) {
 			return (x:Array<Dynamic>).shift();
 			return (x:Array<Dynamic>).shift();