소스 검색

Merge pull request #4311 from Gama11/patch-12

Clearer description for Context.unify()
Simon Krajewski 10 년 전
부모
커밋
49226a8280
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);