Browse Source

[std] keep IMap where it was before for now

Simon Krajewski 8 years ago
parent
commit
c463ccda5b
2 changed files with 6 additions and 6 deletions
  1. 5 1
      std/Map.hx
  2. 1 5
      std/haxe/ds/Map.hx

+ 5 - 1
std/Map.hx

@@ -1 +1,5 @@
-typedef Map<K, V> = haxe.ds.Map<K, V>;
+typedef Map<K, V> = haxe.ds.Map<K, V>;
+
+@:dox(hide)
+@:deprecated
+typedef IMap<K, V> = haxe.Constraints.IMap<K, V>;

+ 1 - 5
std/haxe/ds/Map.hx

@@ -174,8 +174,4 @@ abstract Map<K,V>(IMap<K,V> ) {
 	@:from static inline function fromObjectMap<K:{ }, V>(map:ObjectMap<K,V>):Map<K,V> {
 	@:from static inline function fromObjectMap<K:{ }, V>(map:ObjectMap<K,V>):Map<K,V> {
 		return cast map;
 		return cast map;
 	}
 	}
-}
-
-@:dox(hide)
-@:deprecated
-typedef IMap<K, V> = haxe.Constraints.IMap<K, V>;
+}