Browse Source

shift can be called through anons too

frabbit 10 years ago
parent
commit
6f58f48c85
1 changed files with 1 additions and 1 deletions
  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();