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

Non infomative error message when unit atom is being evaluated #855

Open
vsbogd opened this issue Feb 20, 2025 · 0 comments
Open

Non infomative error message when unit atom is being evaluated #855

vsbogd opened this issue Feb 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@vsbogd
Copy link
Collaborator

vsbogd commented Feb 20, 2025

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Run the following MeTTa script:
!((println! "hello"))

Expected behavior
(Error ((println! "hello")) "Cannot call the unit atom")

Actual behavior
(Error ((println! "hello")) IncorrectNumberOfArguments)

@vsbogd vsbogd added the enhancement New feature or request label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant