Browse Source

remove TypeTools.deref because the new extractor syntax can just do _.get()

Simon Krajewski 11 years ago
parent
commit
d6bf17cfc0
1 changed files with 0 additions and 10 deletions
  1. 0 10
      std/haxe/macro/TypeTools.hx

+ 0 - 10
std/haxe/macro/TypeTools.hx

@@ -198,14 +198,4 @@ class TypeTools {
 			else if (c.superClass != null) findField(c.superClass.t.get(), name, isStatic);
 			else null;
 	}
-	
-	/**
-		Gets the value of a reference `r`.
-		
-		If `r` is null, the result is unspecified. Otherwise `r.get()` is
-		called.
-	**/
-	static inline function deref<T>(r:Ref<T>):T {
-		return r.get();
-	}
 }