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
Note that you wrote not a normal comment /- but a docstring /--, and docstrings only make sense preceding a declaration. This is probably good, but the error message could be better!
nomeata
changed the title
Unexpected token mutual after block comment
Unexpected token mutual after docstring comment
May 13, 2024
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
A comment block followed by a mutual block doesn't type check, possibly doesn't parse at all either
Steps to Reproduce
Expected behavior: Code successfully type checks
Actual behavior: Errors with the following message:
Versions
4.8.0-rc1
, as well as Lean nightly at https://live.lean-lang.org/#project=lean-nightlyThe text was updated successfully, but these errors were encountered: