Open Anatolay opened 2 months ago
A somewhat related issue is #4824, where values in optParam
s aren't being updated when processing nesting. There's another solution in that case, but this issue is fixed first it's worth seeing if it closes that one as well.
I doubt that this issue will be fixed soon (besides, maybe, with a better error message), unless I am mistaken. This kind of nesting is hard™ to do.
Prerequisites
Description
The following code
results in an error:
Context
People on Lean Zulip suggested to file a bug report.
Steps to Reproduce
Put the code above into VSCode editor, wait for lean infoview to execute.
Expected behavior: The code should type check
Actual behavior: Error thrown
Versions
Lean version: 4.11.0-rc1