Skip to content

Error about claim with universally-quantified var on RHS must show var names #3050

Open
@denis-bogdanas

Description

@denis-bogdanas

One of Haskell backend errors looks like this:

Error:
  module 'GEN-B9B4CAC69636F5AA489AA9CCD4116C5719559854D98BBDCEAC41C2EDC89C0D03-TO-7ABB79081A802ABFBA809B6B97DA08A1BDD820D0A54525EE76FE0EC90D4542E0-SPEC':
  claim declaration:
    Found claim with universally-quantified variables appearing only on the right-hand side

It would be preferred if error also mentions variable name and the claim location.
Also, for all backend crashes like this we would prefer different exit codes for easy debugging and tool integration. At very least, backend crash due to out of memory must give a different exit code than a functional error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions