Skip to content

Commit 2fc6d47

Browse files
committed
---
yaml --- r: 813 b: refs/heads/master c: 4bb675b h: refs/heads/master i: 811: 6745050 v: v3
1 parent 841b797 commit 2fc6d47

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 28d43678b6dee9307632627f5de07511aa0c830f
2+
refs/heads/master: 4bb675ba4243314baf3b41dbea01511fdc3ae729

trunk/src/boot/me/semant.ml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,12 @@ let rec rebuild_ty_under_params
978978
(resolve_names:bool)
979979
: Ast.ty =
980980
if (Array.length params) <> (Array.length args)
981-
then err None "mismatched type-params"
981+
then
982+
err None
983+
"mismatched type-params: %s has %d param(s) but %d given"
984+
(Ast.sprintf_ty () ty)
985+
(Array.length params)
986+
(Array.length args)
982987
else
983988
let nmap = Hashtbl.create (Array.length args) in
984989
let pmap = Hashtbl.create (Array.length args) in

0 commit comments

Comments
 (0)