https://github.com/EasyCrypt/easycrypt
Revision e00264462a3e0744c7bb76e0d8beb1092a4498f2 authored by Alley Stoughton on 20 November 2020, 08:05:03 UTC, committed by GitHub on 20 November 2020, 08:05:03 UTC
branches as the number of constructors in the datatype being matched,
an exception was raised instead of the expected error message being
issued. Example:

type t = [A | B].
module M = {
  proc f(x : t) = {
    match x with
    | A => { }
    | A => { }
    end;
  }
}.
1 parent 6c677e1
Raw File
Tip revision: e00264462a3e0744c7bb76e0d8beb1092a4498f2 authored by Alley Stoughton on 20 November 2020, 08:05:03 UTC
When a match has duplicate constructors but the same number of (#47)
Tip revision: e002644
COPYRIGHT.yaml
entities:
  IMDEA : "IMDEA Software Institute"
  INRIA : "Inria"
  X     : "Ecole Polytechnique"
copyrights:
  - pattern: ["src/*.ml*", "src/*/*.ml*"]
    style: "ocaml"
    license: "CeCILL-C-V1"
    copyrights:
      - { who: "IMDEA", date: "2012--2016" }
      - { who: "INRIA", date: "2012--2018" }
      - { who: "X"    , date: "2012--2018" }
  - pattern: ["theories/*.ec", "theories/*/*.ec*"]
    style: "ocaml"
    license: "CeCILL-B-V1"
    copyrights:
      - { who: "IMDEA", date: "2012--2016" }
      - { who: "INRIA", date: "2012--2018" }
      - { who: "X"    , date: "2012--2018" }
back to top