Skip to content

Support Erlang 21 new features #6611

@josevalim

Description

@josevalim

To be implemented when Erlang 21 is released (part of v1.7):

  • Support new handle_continue/2 gen_server callback
  • Support the __STACKTRACE__ variable in catch and rescue and Erlang's new try/catch clauses
  • Deprecate System.stacktrace outside of catch and rescue
  • Integrate with the new logger API (done on v1.6.6)

To be implemented when we require Erlang 21 exclusively:

  • Unify :logger and Logger metadata (done in Use Erlang's logger as main logging implementation #9333)
  • Remove assert_no_null_byte from file operations and get_env/put_env (find_executable and cmd still need it)
  • Optimize elixir_erl_try.erl by removing old stacktrace logic and unifying all clauses into a single one with map_get
  • Add is_struct/1 and is_struct/2
  • Add is_map_key/2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions