aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/error_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/src/error_handler.erl')
-rw-r--r--lib/kernel/src/error_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/error_handler.erl b/lib/kernel/src/error_handler.erl
index a67b11a888..f8bc5f499c 100644
--- a/lib/kernel/src/error_handler.erl
+++ b/lib/kernel/src/error_handler.erl
@@ -90,7 +90,7 @@ int() -> int.
crash(Fun, Args) ->
crash({Fun,Args,[]}).
--spec crash(atom(), atom(), arity()) -> no_return().
+-spec crash(atom(), atom(), arity() | [term()]) -> no_return().
crash(M, F, A) ->
crash({M,F,A,[]}).