Skip to content

Build failure on OTP 22 #87

Description

@tmcgilchrist

Due to the deprecation of erlang:get_stack_trace() erlang/otp#1783

===> Compiling _build/default/lib/clique/src/clique_test_group_leader.erl failed
_build/default/lib/clique/src/clique_test_group_leader.erl:118: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

The simple fix is to update the catch to the new try/catch syntax but that'll break older versions. Otherwise adding an ignore deprecations flag to the project should work.

    try apply(M, F, A) of
        Chars ->
            io_request({put_chars, Chars}, State)
    catch C:T:S ->
            {{error, {C,T, S}}, State}
    end;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions