-
Notifications
You must be signed in to change notification settings - Fork 375
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
println does not print nil slices #1377
Comments
The section in gnolang where |
Yeah, sounds adequate. |
@thehowl do we want to modify standard Go behavior on Gno changing IMHO we should default to keep the same behavior unless there is a good reasoning behind the change. We cannot know the implications of most of the changes until we hit the problem eventually. |
@ajnavarro
(emphasis mine) I think printing |
The `println` function was encountering issues when trying to process nil values(e.g. nil slice). This was causing memory errors. The issue has been addressed by adding checks for nil values and handling them appropriately to prevent memory errors. related with: #1377
Fixed by #1380 (@notJoon use "linking keywords" for your next PRs; see github doc) |
The `println` function was encountering issues when trying to process nil values(e.g. nil slice). This was causing memory errors. The issue has been addressed by adding checks for nil values and handling them appropriately to prevent memory errors. related with: gnolang#1377
panics with:
The text was updated successfully, but these errors were encountered: