diff options
author | Hans Bolinder <[email protected]> | 2012-09-28 09:12:43 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2012-09-28 09:12:43 +0200 |
commit | cccf365a9991a61029ef710046e11bbb78171e25 (patch) | |
tree | f735889b01a1d784f7d00e0df3632071fef02809 /lib/stdlib/src/io_lib.erl | |
parent | 6eb52d69372f427cccb275e5330f4634a96a21c5 (diff) | |
parent | 6674cff5db0c281d309723f25106dd84c33246b1 (diff) | |
download | otp-cccf365a9991a61029ef710046e11bbb78171e25.tar.gz otp-cccf365a9991a61029ef710046e11bbb78171e25.tar.bz2 otp-cccf365a9991a61029ef710046e11bbb78171e25.zip |
Merge branch 'hb/stdlib/opaque_warnings/OTP-10436'
* hb/stdlib/opaque_warnings/OTP-10436:
Refine a few opaque types
Warn for underspecified opaque types
Warn for opaque types that are not exported
Diffstat (limited to 'lib/stdlib/src/io_lib.erl')
-rw-r--r-- | lib/stdlib/src/io_lib.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/stdlib/src/io_lib.erl b/lib/stdlib/src/io_lib.erl index 0252cdf742..ab62b72519 100644 --- a/lib/stdlib/src/io_lib.erl +++ b/lib/stdlib/src/io_lib.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2011. All Rights Reserved. +%% Copyright Ericsson AB 1996-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -82,7 +82,10 @@ -type chars() :: [char() | chars()]. -type depth() :: -1 | non_neg_integer(). --opaque continuation() :: {_, _, _, _}. % XXX: refine +-opaque continuation() :: {Format :: string(), + Stack :: chars(), + Nchars :: non_neg_integer(), + Results :: [term()]}. %%---------------------------------------------------------------------- |