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

Fix Elixir inspect() #1284

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Fix Elixir inspect() #1284

merged 2 commits into from
Sep 25, 2024

Conversation

bettio
Copy link
Collaborator

@bettio bettio commented Sep 24, 2024

Closer to Elixir one (and more reliable), but not yet perfect.
e.g. structs are still printed as maps.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@bettio bettio changed the base branch from main to release-0.6 September 24, 2024 23:36
inspect was returning a list instead of a binary.
Also fix handling of atom special cases.

Signed-off-by: Davide Bettio <[email protected]>
inspect() now supports lists, improper lists, it adds quotes to
printable lists, etc...

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio merged commit 67a8ae1 into atomvm:release-0.6 Sep 25, 2024
75 checks passed
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

Successfully merging this pull request may close these issues.

2 participants