Skip to content

all_goals + apply elaboration = lost errors #4888

Closed

Description

@sacerdot

Prerequisites

Please put an X between the brackets as you perform the following steps:

Description

After a ton of minimization, here is an example where all_goals swallows typing errors generated by incorrect applications:

theorem bug: True := by
 all_goals exact Nat.succ True   -- Nat.succ True is not well typed, but the tactic succeeds
 trivial

The bug propagates to <;> and from there to many other tactics and macros that fail to fail.

Versions

"4.9.0-rc3"

Activity

  1. added
    bug
    on Jul 31, 2024
  2. added
    P-medium
    on Aug 2, 2024
  3. added a commit that references this issue on Oct 28, 2024
    37b4f4f
  4. added a commit that references this issue on Oct 28, 2024
    b308f2b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-mediumbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions