-
Notifications
You must be signed in to change notification settings - Fork 21
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
leanOption in lakefile doesn't work #39
Comments
Thanks for the report! I've isolated the issue and might have a fix ready later. (The file URI here of the opened file needs to be inside the current project folder or |
This is mostly irrelevant here, all I could do in this repo is to set For what it's worth my understanding is that auto-implicits are a useful feature for experienced Lean users but they are an absolute tripping hazard for new users... |
Thanks for the reply! What I am complaining here is all because we are trying to use web editor for teaching, and Anyway, it has nothing else to do with this bug. Looking forward to the fix. |
Possible fix: I'll try to get some opinion (tomorrow) if there's a better way before merging. |
I want to set the option
autoImplicit
to false in a project on my self host server. Mymathlib-demo/lakefile.lean
is as follows:In VSCode the setting works quite well. For example, the following code will fail since
n
is not defined:However, in web editor, it will compile since the option is default to be true.
I think the web editor should allow us to set the options ourselves. And I think
autoImplicit
should not be defaultly true. I don't know why the developers choose to do this.The text was updated successfully, but these errors were encountered: