Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linter.style.multiGoal を紹介する #1006

Closed
Seasawher opened this issue Oct 21, 2024 · 0 comments · Fixed by #1089
Closed

linter.style.multiGoal を紹介する #1006

Seasawher opened this issue Oct 21, 2024 · 0 comments · Fixed by #1089
Assignees

Comments

@Seasawher
Copy link
Member

/--
warning: There are 2 unclosed goals before 'exact hP' and at least one remaining goal afterwards.
Please focus on the current goal, for instance using `·` (typed as "\.").
note: this linter can be disabled with `set_option linter.style.multiGoal false`
-/
#guard_msgs in
  set_option linter.style.multiGoal true in

  example {P Q : Prop} (hP : P) (hQ : Q) : P ∧ Q := by
    constructor
    exact hP
    exact hQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant