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

bug: eval a nil value should print nil #334

Open
twilson63 opened this issue Aug 29, 2024 · 1 comment
Open

bug: eval a nil value should print nil #334

twilson63 opened this issue Aug 29, 2024 · 1 comment
Assignees

Comments

@twilson63
Copy link
Collaborator

Problem

when I type a variable that is not defined the eval should return nil

Solution

Make sure nil values are converted to string before table.concat - in the process/eval.lua

@twilson63
Copy link
Collaborator Author

Steps to reproduce

aos> print(nil)

In process/eval.lua make sure to convert any nil values to string, before concat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants