-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Exit
builtin not working
#996
Comments
I guess that the problem is in how we load rules from builtin objects: since the pattern in the rule does not have The problem is that the loading mechanism is not showing an error when this happens. #998 provides a patch to provide the |
Are saying that this the wrong thing to do? If so, what would the right thing to do be? I tried using a Delayed assignment and that works.
I think you mean that this is another problem, that this fails silently. The first problem of course being that
doesn't work and is expected to do so.
Please add a new issue for this so it doesn't get lost. Thanks. |
Ok. Is there a way to observer a difference between the two kinds of implementation in WMA? If so, which way does WMA do it?
Ok. |
This fixes #996. It seems that the rule for `Exit` was not loaded together with `Quit`. --------- Co-authored-by: R. Bernstein <[email protected]>
Exit
builtin doesn't seem to work. The rule forQuit
inmathics/builtin/evaluation.py
seems correct to me, butExit
does nothing and doesn't show up among the available builtins in mathicsscript's autocompletion.Quit
works just fine.If there is anything else I could check, I would be glad to do it.
The text was updated successfully, but these errors were encountered: