-
Notifications
You must be signed in to change notification settings - Fork 275
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
.undo
after an "evaluation" (no semi colon) leads to crash
#522
Comments
I cannot reproduce the crash with the current master, it works for me, could you retry with latest commits ? Maybe @hahnjo knows at what commit exactly this was solved. |
When I run the same file for the second time, I also find the following issues:
[cling]$ .x E:\03_Study\01_Git\Cling\cling-build\Debug\bin\Test.c |
When I tried the above steps, I also reproduced the problem, as shown below: [cling]$ int x = 10;
|
Describe the bug
Doing something like:
Works fine, but if you want to evaluate
x == 10
(so no trailing colon):then you get a crash:
If you insert a
;
after your evaluation, then it still doesn't work:(same crash, but you can
.undo 1
!)Expected behavior
I would expect to be able to "undo" evaluations.
To Reproduce
cling
Setup
Machine:
Additional context
The text was updated successfully, but these errors were encountered: