Panics should have nice information #6
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: scott/rudus#6
Loading…
Reference in New Issue
Block a user
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?
Right now, they just cause Rust to panic. We can do better just by printing the error message. But we should get to good panic information showing the offending line and the message, and with
no match
es, the scrutinee and the patterns at issue.Canvas the Janet codebase to see where panics happen, and make sure we have at-least-as-good error messages in every situation.
Moving to minimal replacement, because, uh, I need to debug Prelude, and having at all reasonable errors including locations is deeply necessary for debugging Ludus code.
Done, with
5e73c5cb3b