-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Random errors when searching REPL's history with "Ctrl-r" #39401
Comments
I'm also getting this and it is rather annoying. |
Same here with ...
|
To help it would be useful to get: a |
It comes from an empty history line. It was fine on Julia 1.5, on 1.6+ it bugs because of a call like
If |
I can't compile Julia master rn because The problem is that we have this line now, before the if-else: before it just returns 0. But IIRC the "before" behavior was also weird, something like Can we skip empty lines in history? (in fact I can't seem to get empty lines into the history file) |
You can get some by deleting the content of previous entries, (arrow-up, C-a, C-k; but then it doesn't necessary hits the problematic
We can surely do this. But I would say as a stopgap, I think I agree with @KristofferC that |
This is looking at it at a too low level. The problem is that |
wait, this doesn't error on 1.6.1 right? bisect time? |
It's |
so the error comes down to: Line 446 in abbb220
unsafe_wrap ing the String.
I would purpose adding a branch before the
|
When I search the history (press Ctrl-r and begin something), I'll occasionally get these errors:
The text was updated successfully, but these errors were encountered: