Skip to content

[#735] Skip never parameter in reference tests

Description

Problem: It can make sense to include contracts in the expamples that do not support calls, e.g. because these contracts are view-only. However, our reference tests expect contracts to be callable, thus fail for such contracts.

Solution: Filter out any contracts that have never-like parameter. This also filters out things like pair never a and or never never, although arguably those aren't likely to ever appear in practice.

Related issue(s)

Resolves #735 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Merge request reports