Skip to content
Commit 18f58429 authored by Stefan's avatar Stefan
Browse files

Get rid of unused `it` field in Case; various extra type checks

* src/lparse.ml (_lexp_p_check): Check the lambda's type annotations
are indeed types.
(lexp_case): Check that the subject is indeed of inductive type.
(lexp_call): Remove unused `from_lctx`.
(lexp_read_pattern): Remove unused `exp` arg.

* src/lexp.ml (lexp): Remove unused "base inductive type" field from `Case`.
parent ac07367f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment