aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/sys.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-01-23 11:34:18 +0100
committerHans Bolinder <[email protected]>2018-01-23 11:34:18 +0100
commitdc6a03a8351819a91c1e9235dd84df0acd4ba6b8 (patch)
tree0dfd2c3c3cbf86656929d5a0e140f7825fc8d1dd /lib/stdlib/src/sys.erl
parent7a37e39d45597a25ff532751c5131938b5286331 (diff)
parent6deabadcda913b4fd7f3d209e4344f0b0f736e85 (diff)
downloadotp-dc6a03a8351819a91c1e9235dd84df0acd4ba6b8.tar.gz
otp-dc6a03a8351819a91c1e9235dd84df0acd4ba6b8.tar.bz2
otp-dc6a03a8351819a91c1e9235dd84df0acd4ba6b8.zip
Merge branch 'hasse/kernel-stdlib/fix_contracts/OTP-14889' into maint
* hasse/kernel-stdlib/fix_contracts/OTP-14889: kernel: Correct contracts and a bug in group_history stdlib: Correct contracts dialyzer: Optimize handling of a lot of warnings
Diffstat (limited to 'lib/stdlib/src/sys.erl')
-rw-r--r--lib/stdlib/src/sys.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/stdlib/src/sys.erl b/lib/stdlib/src/sys.erl
index 1f966411c5..0c578acf21 100644
--- a/lib/stdlib/src/sys.erl
+++ b/lib/stdlib/src/sys.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2017. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2018. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -38,7 +38,9 @@
-export_type([dbg_opt/0]).
--type name() :: pid() | atom() | {'global', atom()}.
+-type name() :: pid() | atom()
+ | {'global', term()}
+ | {'via', module(), term()}.
-type system_event() :: {'in', Msg :: _}
| {'in', Msg :: _, From :: _}
| {'out', Msg :: _, To :: _}