aboutsummaryrefslogtreecommitdiff
path: root/kernel/nativelambda.ml
diff options
context:
space:
mode:
authoraspiwack2013-11-02 15:40:43 +0000
committeraspiwack2013-11-02 15:40:43 +0000
commiteeb75da21bedfdaa5fe975edc62aeb93b7c849b8 (patch)
treebdae0b08d6696cbca7beaa1c4df0856407f5f7bb /kernel/nativelambda.ml
parentdccdf646ba050538c026706664b57229f38555c2 (diff)
Fix compilation of pattern matching wrt variables: alias.
Aliases (as clause) are a bit tricky. In Goal True, refine match 0 with | S n as p => _ | _ => I end Must produce the goal n:nat, p := S n : nat |- True However, in the deep branches: refine match 0 with | S (S n as p) => _ | _ => I end The alias is used to give a name to the variable of the first S : p:nat, n:nat |- True Before this patch, the goal would be p:nat, n:nat, p:=p : nat |- True Alias was used both to name the variable of the first S and to alias it. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@17022 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/nativelambda.ml')
0 files changed, 0 insertions, 0 deletions