Repository navigation
fix: restore useful parse error messages in REPL (issue #78) - #87
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #87 +/- ##
==========================================
- Coverage 84.59% 84.55% -0.04%
==========================================
Files 25 25
Lines 4549 4551 +2
==========================================
Hits 3848 3848
- Misses 701 703 +2
🚀 New features to boost your workflow:
|
adityamukho
force-pushed
the
fix/issue-78-repl-parse-errors
branch
2 times, most recently
from
Apri
8000
l 4, 2026 04:10
66278cc to
426667d
Compare
adityamukho
force-pushed
the
fix/issue-78-repl-parse-errors
branch
from
April 4, 2026 04:15
426667d to
a165cfe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Parse error: {error}Changes
src/repl.rs:103: Changedeprintln!("Parse error")toeprintln!("Parse error: {}", e)Test
Verified locally:
(query [)→Parse error: Unexpected token: RightParen(query [:find ?x :where [?e :a ?b c d]])→Parse error: Pattern must have exactly 3 elements (E A V), got 5