You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identifiers that clash with syntax are not escaped when pretty-printing. As a result, the content of the goal view cannot be pasted into the source file.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
Identifiers that clash with syntax are not escaped when pretty-printing. As a result, the content of the goal view cannot be pasted into the source file.
Context
Zulip thread
Steps to Reproduce
Expected behavior: The output of the first
#check
should rountrip; probably, it should be«forall» + 1 : Nat
.Actual behavior: The escaping of
forall
is lost, resulting in a syntax error.set_option pp.all true
does not help.Versions
4.10.0-rc1
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: