Browse Source

keep Map.IMap typedef for now

Simon Krajewski 11 years ago
parent
commit
9044292d26
1 changed files with 4 additions and 1 deletions
  1. 4 1
      std/Map.hx

+ 4 - 1
std/Map.hx

@@ -161,4 +161,7 @@ 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;
 	}
 	}
-}
+}
+
+@:deprecated
+typedef IMap<K, V> = haxe.Constraints.IMap<K, V>;