Skip to content
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

Error output: Add line number & relation #447

Closed
Laschoking opened this issue Dec 19, 2023 · 2 comments · Fixed by #455
Closed

Error output: Add line number & relation #447

Laschoking opened this issue Dec 19, 2023 · 2 comments · Fixed by #455
Assignees
Labels
enhancement New feature or request Parser Rule-Parser-Related Issue
Milestone

Comments

@Laschoking
Copy link

When receiving an error like:
error: Overloading of predicate names by arity is currently not supported.
it would be good, to output the line number and relation which caused he error.

@mmarx mmarx added the enhancement New feature or request label Dec 19, 2023
@Laschoking
Copy link
Author

Another case is when I try to output a relation that does not exist (i.e. because of a typo), I receive the imprecise error message :
thread 'main' panicked at nemo/src/execution/execution_engine.rs:783:26: all predicates should have a type by now

@mmarx mmarx added this to the Release 0.6.0 milestone Apr 3, 2024
@monsterkrampe
Copy link
Member

Likely addressed in #455.

@monsterkrampe monsterkrampe added the Parser Rule-Parser-Related Issue label Aug 28, 2024
@aannleax aannleax mentioned this issue Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Parser Rule-Parser-Related Issue
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants