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

repr doesn't properly work on variables #221

Open
ngeiswei opened this issue Dec 13, 2024 · 0 comments
Open

repr doesn't properly work on variables #221

ngeiswei opened this issue Dec 13, 2024 · 0 comments
Labels
bug Issues that represent errors in the code

Comments

@ngeiswei
Copy link
Contributor

What is your problem?

The built-in repr doesn't properly work on variables.

How to reproduce your problem?

Run the following with MeTTaLog

!(repr $x)

What would do normal expect?

["$x"]

What do you get instead?

["$10000"]

What else do you have to say?

Tested with revision 6af3149.

@ngeiswei ngeiswei added the bug Issues that represent errors in the code label Dec 13, 2024
@ngeiswei ngeiswei changed the title repr doesn't work on variables repr doesn't properly work on variables Dec 13, 2024
TeamSPoon added a commit to logicmoo/metta-testsuite that referenced this issue Dec 13, 2024
…nes turns on the bugfix.. but this adds some slight dangers to be discussed later
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that represent errors in the code
Projects
None yet
Development

No branches or pull requests

1 participant