Skip to content

Anomaly caused by algebraic datatype shenanigans #989

@oskgo

Description

@oskgo

MRE of #416 (comment), which on further inspection seems orthogonal to #416.

There is something weird going on with = instantiations of algebraic datatypes.

theory Thy.
  type ATy = [constr].
  op useconstr = constr.
end Thy.

clone Thy as Thy1.

clone Thy as Thy2 with
  type ATy = Thy1.ATy,
  op useconstr <= Thy1.useconstr.
anomaly: File "src/ecUtils.ml", line 239, characters 24-30: Assertion failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions