Ver código fonte

Merge pull request #4311 from Gama11/patch-12

Clearer description for Context.unify()
Simon Krajewski 10 anos atrás
pai
commit
49226a8280
1 arquivos alterados com 1 adições e 1 exclusões
  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);