We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please put an X between the brackets as you perform the following steps:
Step 1: copy-paste the following in an empty file:
structure Signature where /-- a docstring -/ Sort : Type
This will give an expected error, since Sort is a reserved keyword.
Sort
Step 2: add the letter s to Sort, so that the line reads Sorts : Type
s
Sorts : Type
On Windows, the error unexpected token 'Sort' remains until the file is restarted.
unexpected token 'Sort'
I can reproduce this on 4.14.0-rc2, 4.13.0-rc3 (on Windows) and on live.lean-lang, so it doesn't seem OS specific.
4.14.0-rc2
4.13.0-rc3
live.lean-lang
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:
fix: reparsing may need to backtrack two commands (#6236)
81b85d8
This PR fixes an issue where edits to a command containing a nested docstring fail to reparse the entire command. Fixes #6227
Successfully merging a pull request may close this issue.
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
Step 1: copy-paste the following in an empty file:
This will give an expected error, since
Sort
is a reserved keyword.Step 2: add the letter
s
toSort
, so that the line readsSorts : Type
On Windows, the error
unexpected token 'Sort'
remains until the file is restarted.Versions
I can reproduce this on
4.14.0-rc2
,4.13.0-rc3
(on Windows) and onlive.lean-lang
, so it doesn't seem OS specific.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: