AtomVM icon indicating copy to clipboard operation
AtomVM copied to clipboard

Base.decodeXX -> crash: unsupported

Open petermm opened this issue 1 year ago • 0 comments

With the elixir Base module https://github.com/elixir-lang/elixir/blob/v1.17/lib/elixir/lib/base.ex (just add file to elixir project)

trying:

Base.decode32("MZXW6YTBOI======")

crashes, most likely duplicate/related to https://github.com/atomvm/AtomVM/issues/154 ? (lack of complete bitstring support)

CRASH 
======
pid: <0.1.0>

Stacktrace:
undefined

cp: #CP<module: 7, label: 65, offset: 14>

x[0]: error
x[1]: unsupported
x[2]: error

petermm avatar Sep 29 '24 16:09 petermm