Explorar o código

shift can be called through anons too

frabbit %!s(int64=10) %!d(string=hai) anos
pai
achega
6f58f48c85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 	}
 
-	@:ifFeature("dynamic_read.shift", "anon_optional_read.shift")
+	@:ifFeature("dynamic_read.shift", "anon_optional_read.shift", "anon_read.shift")
 	static public function shift(x) {
 		if (Boot.isArray(x)) {
 			return (x:Array<Dynamic>).shift();