summaryrefslogtreecommitdiff
path: root/lib/erl_interface/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <bjorn@erlang.org>2021-02-11 15:26:25 +0100
committerBjörn Gustavsson <bjorn@erlang.org>2021-02-19 07:22:05 +0100
commitfba5a42890990a01aca764750ebb6a4913cbc24c (patch)
tree7f95429b1f426dc079c08243f9a3ee4420af94ae /lib/erl_interface/test
parentca0fe0bc549549011de2a0dc7799db1a174a64f0 (diff)
downloaderlang-fba5a42890990a01aca764750ebb6a4913cbc24c.tar.gz
beam_lib, cover: Don't crash when an abstract code backend is missing
On a computer without Elixir installed, `beam_lib` would crash when asked to retrieve the abstract code for a BEAM file produced by the Elixir compiler. Instead of crashing when the backend module is missing, return `{error,{missing_backend,BeamFile,Backend}}`. Also update `cover` to handle the new error from `beam_lib`. Resolves #4353
Diffstat (limited to 'lib/erl_interface/test')
0 files changed, 0 insertions, 0 deletions