Procházet zdrojové kódy

Merge pull request #4311 from Gama11/patch-12

Clearer description for Context.unify()
Simon Krajewski před 10 roky
rodič
revize
49226a8280
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      std/haxe/macro/Context.hx

+ 1 - 1
std/haxe/macro/Context.hx

@@ -378,7 +378,7 @@ class Context {
 	}
 
 	/**
-		Returns true if `t1` and `t2` unify, false otherwise.
+		Tries to unify `t1` and `t2` and returns `true` if successful.
 	**/
 	public static function unify( t1 : Type, t2 : Type) : Bool {
 		return load("unify", 2)(t1, t2);