aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-01-22 19:51:06 +0100
committerGitHub <[email protected]>2019-01-22 19:51:06 +0100
commit5cd9c35347941b2af477c6b3847894f8b360f47f (patch)
tree0510b36a11a530342a1cd38d5dccee6204173233 /erts/preloaded/src
parent71c276be5d0a4bf60158137ae3c2be970216429b (diff)
parente96f66d8817d89c51b5066ed0cd69fcda8620306 (diff)
downloadotp-5cd9c35347941b2af477c6b3847894f8b360f47f.tar.gz
otp-5cd9c35347941b2af477c6b3847894f8b360f47f.tar.bz2
otp-5cd9c35347941b2af477c6b3847894f8b360f47f.zip
Merge pull request #2089 from richcarl/document-undefined-current_function
Document that current_function can be undefined OTP-15543
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r--erts/preloaded/src/erlang.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 65716def11..a5b60cc845 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -2295,7 +2295,7 @@ process_flag(_Flag, _Value) ->
non_neg_integer()}]} |
{catchlevel, CatchLevel :: non_neg_integer()} |
{current_function,
- {Module :: module(), Function :: atom(), Arity :: arity()}} |
+ {Module :: module(), Function :: atom(), Arity :: arity()} | undefined} |
{current_location,
{Module :: module(), Function :: atom(), Arity :: arity(),
Location :: [{file, Filename :: string()} | % not a stack_item()!