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

+/1 (unary plus) not implemented #1512

Closed
jakub-gonet opened this issue Feb 6, 2025 · 1 comment
Closed

+/1 (unary plus) not implemented #1512

jakub-gonet opened this issue Feb 6, 2025 · 1 comment

Comments

@jakub-gonet
Copy link
Contributor

Following code crashes the VM:

-module(hello_world).
-export([two/0, start/0]).

two() ->
    2.

start() ->
    +?MODULE:two().
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
migmatore added a commit to migmatore/AtomVM that referenced this issue Feb 16, 2025
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

Signed-off-by: migmatore <[email protected]>
bettio added a commit that referenced this issue Feb 17, 2025
Fix +/1 (unary plus) not implemented #1512

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
Copy link
Collaborator

bettio commented Feb 17, 2025

Fixed with #1545

@bettio bettio closed this as completed Feb 17, 2025
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