Skip to content

[Chore] Disable a redundant constraint warning

Pinto Pasquale requested to merge pasqu4le/redundant-constraint-hotfix into master

Description

Michelson.Typed.Sing, raises a redundant constraint warning. However, this went unnoticed because it does so only with some compiler optimization levels.

This disables the redundant constraint warning in said module with a pragma.

For context, this was noticed on production pipelines (where we use a different optimization level) and is a known bug.

Note: this particular warning was expected and it's due to a known TH function shortcoming, see this discussion

Related issue(s)

None

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)

Edited by Pinto Pasquale

Merge request reports