소스 검색

fixed bug in bounded type parameters.

Nicolas Cannasse 19 년 전
부모
커밋
f1492e2129
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      type.ml

+ 1 - 0
type.ml

@@ -306,6 +306,7 @@ let apply_params cparams params t =
 	let rec loop l1 l2 =
 		match l1, l2 with
 		| [] , [] -> []
+		| (a,b,TLazy f) :: l1, _ -> loop ((a,b,(!f)()) :: l1) l2
 		| (_,_,t1) :: l1 , (v,t2) :: l2 -> (t1,(v,t2)) :: loop l1 l2
 		| _ -> assert false
 	in