You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling with AVM_CREATE_STACKTRACES=off, undefined is given as stacktrace.
We should ivnestigate if this might be completely unexpected, and break any existing code (e.g. Elixir Exception module and blame functions).
If undefined can't be used, test_raw_raise must be updated accordingly.
The text was updated successfully, but these errors were encountered:
bettio
added a commit
to bettio/AtomVM-fork
that referenced
this issue
Aug 17, 2024
When using AVM_CREATE_STACKTRACES=off undefined is used as stacktrace
value, making `test_raw_raise` fail.
Since it is a known behavior also accept it, but this behavior should be
checked and reviewed (e.g. `[]` might be used instead as stack trace
value).
See also atomvm#1247
Signed-off-by: Davide Bettio <[email protected]>
Make `test_raw_raise` pass
Accept `undefined` as stacktrace value. This might be changed in the future.
See also #1247
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
When compiling with
AVM_CREATE_STACKTRACES=off
,undefined
is given as stacktrace.We should ivnestigate if this might be completely unexpected, and break any existing code (e.g. Elixir
Exception
module andblame
functions).If
undefined
can't be used,test_raw_raise
must be updated accordingly.The text was updated successfully, but these errors were encountered: