aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/typeops.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-05-03 13:37:41 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-05-03 13:37:41 +0200
commit3c795ba6b5728e8a0a699ab15c773c52c48f33e4 (patch)
tree7a95c75037ddc1c729bc496c13084d350f9f29a1 /checker/typeops.ml
parent4bff930da2c029a66eaf5378e5abd2cc35554f8f (diff)
parent15d415729962eddde2cd1d58e03449c8526ba626 (diff)
Merge PR#411: Mention template polymorphism in the documentation.
Diffstat (limited to 'checker/typeops.ml')
-rw-r--r--checker/typeops.ml4
1 files changed, 1 insertions, 3 deletions
diff --git a/checker/typeops.ml b/checker/typeops.ml
index 02d801741..1396d56df 100644
--- a/checker/typeops.ml
+++ b/checker/typeops.ml
@@ -275,13 +275,11 @@ let rec execute env cstr =
let j =
match f with
| Ind ind ->
- (* Sort-polymorphism of inductive types *)
judge_of_inductive_knowing_parameters env ind jl
| Const cst ->
- (* Sort-polymorphism of constant *)
judge_of_constant_knowing_parameters env cst jl
| _ ->
- (* No sort-polymorphism *)
+ (* No template polymorphism *)
execute env f
in
let jl = Array.map2 (fun c ty -> c,ty) args jl in