Stack prompt cleanup and REPL error rollback fixes #269
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
rust
technical-debt
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/patch-seq#269
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two improvements to the REPL experience:
stack:to»for less visual noiseChanges Required
1.
crates/core/src/stack.rs(around line 1073-1077)Find:
Replace with:
2.
crates/repl/src/app.rs(around line 547-576)Find:
Replace with:
Rationale
Stack prompt
»character is visually distinct, won't be confused with inputError rollback
Previously, if an expression like
5 rollcompiled but failed at runtime (e.g., insufficient stack depth), the expression stayed in the session file, breaking all subsequent evaluations. Now:This gives the REPL proper error recovery behavior.
https://github.com/navicore/patch-seq/pull/270