From 5f9b4293bc029e2132d7c442cb5b4480915ea0e4 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Thu, 3 May 2018 07:12:11 -0400 Subject: Work around OTP-21 deprecation of get_stacktrace() Based off a macro by @okeuday at https://github.com/erlang/otp/pull/1783 --- bootstrap | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 9675e1d..5899e9b 100755 --- a/bootstrap +++ b/bootstrap @@ -571,6 +571,7 @@ additional_defines() -> [{d, D} || {Re, D} <- [{"^[0-9]+", namespaced_types}, {"^R1[4|5]", deprecated_crypto}, {"^2", unicode_str}, + {"^(R|1|20)", fun_stacktrace}, {"^((1[8|9])|2)", rand_module}], is_otp_release(Re)]. -- cgit v1.1