Explorar o código

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

Simon Krajewski %!s(int64=11) %!d(string=hai) anos
pai
achega
d6bf17cfc0
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  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();
-	}
 }