Explorar o código

Merge pull request #4311 from Gama11/patch-12

Clearer description for Context.unify()
Simon Krajewski %!s(int64=10) %!d(string=hai) anos
pai
achega
49226a8280
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);