Skip to content

Fatal errors in Elpi tactic can be caught by tactic-in-term #935

@pi8027

Description

@pi8027

I'm unsure whether it is a bug in Rocq or Rocq-Elpi, or even this is the intended behavior. But, IMO, fatal errors should remain fatal. Here is an example:

From elpi Require Import elpi.

Elpi Tactic test.
Elpi Accumulate lp:{{
solve _ _ :- coq.error "fatal error".
}}.

Goal False.
Succeed exact (ltac:(elpi test)) || idtac.
Abort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions