diff options
author | 2017-05-13 23:31:08 +0200 | |
---|---|---|
committer | 2017-05-16 10:53:36 +0200 | |
commit | 00964706efe8f6b13e38b57ddb45fac516feb958 (patch) | |
tree | 21878ea1ccac65b7f34b313b9ed07999abeefff2 /pretyping/inductiveops.mli | |
parent | e2de94b90e8802fa5c5dc33c7daf6b8ce5646bfa (diff) |
Fixing bug #5222 (anomaly with "`pat" in the presence of scope delimiters).
We seized this opportunity to factorize the code for interning `pat
with more general pre-existing code.
More precisely: There was already a function to compute the free
variables of a pattern. Commit c6d9d4fb rewrote an approximation of it
and #5222 hits cases non-treated by this function. We remove the
partially-defined redundant code and use instead the existing code
since intern_cases_pattern, already called, was already doing this
computation. (In doing so, we discover a bug in merging names in the
presence of nested "as" clauses, which we fix in previous
commit. Additionally, intern_local_pattern was misleadingly overkill
to simply mean a folding on Id.Set.add and we avoid the detour.
Diffstat (limited to 'pretyping/inductiveops.mli')
0 files changed, 0 insertions, 0 deletions