aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorHugo Herbelin2015-07-16 22:08:31 +0200
committerHugo Herbelin2015-07-16 22:16:19 +0200
commite0d36d4afd7f38eb6816b92d03ecc2d2f7dc8d3f (patch)
tree90360a403a69bb2f80bcb66d73a9505082997354 /kernel
parent0b3a335219e161dc04f6734e9ee4f7c08cde6cd5 (diff)
Slight improvement in naming anonymous variables in error messages:
using closer naming strategies for naming variables in make_all_name_different and when contracting trivial letins. Not sure what the best policy is. Maybe the contraction process should not invent names at al and let make_all_name_different do the job. Maybe pretyping should name all rels which it pushes to environment (with cases.ml paying attention to avoid clash). The problem shows for instance with a PretypeError (... env, ... , ActualTypeNotCoercible (NotClean (... env ...)) message with two copies of env which we don't if they are the same but which have to share same names for similar rendering of the rels! This was revealed e.g. by the error message of #4177.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions